Depends on what the actual failure is, you didn't provide any error details.
On Fri, 21 Jan 2022 at 09:46, dulhaver via Ansible Project < [email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/ansible-project/1143082708.698237.1642754754422%40office.mailbox.org?utm_medium=email&utm_source=footer> > . > -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- 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/CAL8fbwOMFFB3%2BMWpBCvS8n-6ToXRe5UuVwXapVRHYt70u7%3DtJg%40mail.gmail.com.
