Ok, nevermind. Only one instance of the tasks:, but multiple tasks
underneath. Thanks!
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Only one task for each playbook? Didnt know that
>
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googlegroups.com.
To post
On 19. mai 2017 16:38, Anfield wrote:
I have the following playbook and I got the above error. This created the
directory but not the file. Any ideas?
---
- hosts: local
tasks:
- name: create a file if it doesnt exist
file:
path: /home/ansible/touchfile.txt
state: touch
I have the following playbook and I got the above error. This created the
directory but not the file. Any ideas?
---
- hosts: local
tasks:
- name: create a file if it doesnt exist
file:
path: /home/ansible/touchfile.txt
state: touch
mode: 0755
tasks:
- name: