diff options
Diffstat (limited to 'ansible-practice/07-playbook-create-directory.yml')
| -rw-r--r-- | ansible-practice/07-playbook-create-directory.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible-practice/07-playbook-create-directory.yml b/ansible-practice/07-playbook-create-directory.yml new file mode 100644 index 0000000..ba4affc --- /dev/null +++ b/ansible-practice/07-playbook-create-directory.yml @@ -0,0 +1,14 @@ +# create a directory +# https://phoenixnap.com/kb/ansible-create-file + +--- +- name: "07 - Playing with Ansible - create a directory" +# hosts: all + hosts: localhost + connection: local + tasks: + - name: Create a new directory + file: + path: "~/ansible_created_directory" + state: directory +...
\ No newline at end of file |
