Dagger
Search

ansible

No long description provided.

Installation

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

Entrypoint

Return Type
Ansible
Example
dagger -m github.com/tsirysndr/daggerverse/ansible@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 call \
func (m *myModule) example() *Ansible  {
	return dag.
			Ansible()
}
@function
def example() -> dag.Ansible:
	return (
		dag.ansible()
	)
@func()
example(): Ansible {
	return dag
		.ansible()
}

Types

Ansible 🔗

playbook() 🔗

Runs a playbook.

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
playbookString !-No description provided
tagString "latest"No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/ansible@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 call \
 playbook --src DIR_PATH --playbook string
func (m *myModule) example(ctx context.Context, src *Directory, playbook string) string  {
	return dag.
			Ansible().
			Playbook(ctx, src, playbook)
}
@function
async def example(src: dagger.Directory, playbook: str) -> str:
	return await (
		dag.ansible()
		.playbook(src, playbook)
	)
@func()
async example(src: Directory, playbook: string): Promise<string> {
	return dag
		.ansible()
		.playbook(src, playbook)
}

dev() 🔗

Returns a container with ansible installed.

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