Answers for "create folder and file in ansible"

2

ansible create folder

- name: Create a directory if it does not exist
  ansible.builtin.file:
    path: /etc/some_directory
    state: directory
    mode: '0755'
Posted by: Guest on January-12-2021

Code answers related to "create folder and file in ansible"

Browse Popular Code Answers by Language