I have this TASK in a roles tasks/main.yml
it reliably (almost 100% of the occassions I'd say) fails to create the
directory 'data' on the 1st run of the playbook.
Also with 100% reliabilty it succeeds with this on a 2nd run
- name: create db dirs
file:
path: "{{ db_base }}/{{ item }}"
state: directory
owner: root
become: yes
loop:
- data
- backup
a missing backup dir does not cause an error directly following playbook TASKS,
bust still it seems to me it gets created on the first round most of the times.
any idea what could be causing such a behaviour?
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1143082708.698237.1642754754422%40office.mailbox.org.