ansible-lint
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/ansible-lint@eb1262f8148af1abdbd17c1b47fbd3a5fbabe6de
Entrypoint
Return Type
AnsibleLint
Example
dagger -m github.com/tsirysndr/daggerverse/ansible-lint@eb1262f8148af1abdbd17c1b47fbd3a5fbabe6de call \
func (m *myModule) example() *AnsibleLint {
return dag.
AnsibleLint()
}
@function
def example() -> dag.AnsibleLint:
return (
dag.ansible_lint()
)
@func()
example(): AnsibleLint {
return dag
.ansibleLint()
}
Types
AnsibleLint 🔗
lint() 🔗
Lint ansible YAML files.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
files | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/ansible-lint@eb1262f8148af1abdbd17c1b47fbd3a5fbabe6de call \
lint
func (m *myModule) example(src ) {
return dag.
AnsibleLint().
Lint(src)
}
@function
def example(src: ) -> :
return (
dag.ansible_lint()
.lint(src)
)
@func()
example(src: ): {
return dag
.ansibleLint()
.lint(src)
}
dev() 🔗
Returns a container with ansible-lint installed.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/ansible-lint@eb1262f8148af1abdbd17c1b47fbd3a5fbabe6de call \
dev
func (m *myModule) example() {
return dag.
AnsibleLint().
Dev()
}
@function
def example() -> :
return (
dag.ansible_lint()
.dev()
)
@func()
example(): {
return dag
.ansibleLint()
.dev()
}