aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/test/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/test/tasks/main.yml')
-rw-r--r--ansible/roles/test/tasks/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible/roles/test/tasks/main.yml b/ansible/roles/test/tasks/main.yml
new file mode 100644
index 0000000..318af77
--- /dev/null
+++ b/ansible/roles/test/tasks/main.yml
@@ -0,0 +1,16 @@
+- name: Create a Test File
+ file:
+ path: /tmp/test_ansible.txt
+ state: touch
+
+- name: Test Perms
+ file:
+ path: /tmp/test_ansible.txt
+ owner: root
+ group: cyberian
+ mode: '0664'
+
+- name: Remove Test File
+ file:
+ path: /tmp/test_ansible.txt
+ state: absent