|
|
@ -48,7 +48,7 @@ options:
|
|
|
|
examples:
|
|
|
|
examples:
|
|
|
|
- code: "template: src=/mytemplates/foo.j2 dest=/etc/file.conf owner=bin group=wheel mode=0644"
|
|
|
|
- code: "template: src=/mytemplates/foo.j2 dest=/etc/file.conf owner=bin group=wheel mode=0644"
|
|
|
|
description: "Example from Ansible Playbooks"
|
|
|
|
description: "Example from Ansible Playbooks"
|
|
|
|
- code: "action: temlpate src=/mine/sudoers dest=/etc/sudoers validate='visudo -c %s'"
|
|
|
|
- code: "action: template src=/mine/sudoers dest=/etc/sudoers validate='visudo -c %s'"
|
|
|
|
description: "Copy a new C(sudoers) file into place, after passing validation with visudo"
|
|
|
|
description: "Copy a new C(sudoers) file into place, after passing validation with visudo"
|
|
|
|
notes:
|
|
|
|
notes:
|
|
|
|
- Since Ansible version 0.9, templates are loaded with C(trim_blocks=True).
|
|
|
|
- Since Ansible version 0.9, templates are loaded with C(trim_blocks=True).
|
|
|
|