Dagger
Search

ansible-lint

No long description provided.

Installation

dagger install github.com/tsirysndr/daggerverse/ansible-lint@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0

Entrypoint

Return Type
AnsibleLint
Example
dagger -m github.com/tsirysndr/daggerverse/ansible-lint@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 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
NameTypeDefault ValueDescription
srcDirectory !-No description provided
filesString "*.yml"No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/ansible-lint@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 call \
 lint --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory  {
	return dag.
			AnsibleLint().
			Lint(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
	return (
		dag.ansible_lint()
		.lint(src)
	)
@func()
example(src: Directory): Directory {
	return dag
		.ansibleLint()
		.lint(src)
}

dev() 🔗

Returns a container with ansible-lint installed.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/ansible-lint@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 call \
 dev
func (m *myModule) example() *Container  {
	return dag.
			AnsibleLint().
			Dev()
}
@function
def example() -> dagger.Container:
	return (
		dag.ansible_lint()
		.dev()
	)
@func()
example(): Container {
	return dag
		.ansibleLint()
		.dev()
}