Commit 033c77a1 by Brian Coca

now creates/removes files/ dir

parent c6733cc1
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
connection: local connection: local
gather_facts: false gather_facts: false
tasks: tasks:
- file: path={{playbook_dir}}/files state=directory
- file: path={{playbook_dir}}/roles/files state=directory
- copy: dest={{playbook_dir}}/roles/showfile/files/testfile content='in role files' - copy: dest={{playbook_dir}}/roles/showfile/files/testfile content='in role files'
- copy: dest={{playbook_dir}}/roles/showfile/tasks/testfile content='in role tasks' - copy: dest={{playbook_dir}}/roles/showfile/tasks/testfile content='in role tasks'
- copy: dest={{playbook_dir}}/roles/showfile/testfile content='in role' - copy: dest={{playbook_dir}}/roles/showfile/testfile content='in role'
...@@ -58,3 +60,5 @@ ...@@ -58,3 +60,5 @@
gather_facts: false gather_facts: false
tasks: tasks:
- file: path={{playbook_dir}}/testfile state=absent - file: path={{playbook_dir}}/testfile state=absent
- file: path={{playbook_dir}}/files state=absent
- file: path={{playbook_dir}}/roles/files state=absent
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment