Can you try wih this. And if there is any error please the details error
you can try with -vv flag while running the playbook.
# If the mount directory doesn't already exist it is created
- name: Create the mount directory
file:
path: "{{ mount_dir_path }}"
state: directory
mode: 0777
become: yes
become_method: sudo
when: mount_dir_stat_first.stat.exists == False
tags:
- prereqs
On 6/14/20 11:34 PM, Tony Wong wrote:
# If the mount directory doesn't already exist it is created
- name: Create the mount directory
become: yes
become_method: yes
file:
path: "{{ mount_dir_path }}"
state: directory
mode: 0777
become: yes
become_method: sudo
when: mount_dir_stat_first.stat.exists == False
tags:
- prereqs
--
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/a32350ba-ad1b-6a72-f7d6-22bb348ceec6%40gmail.com.