aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/test/tasks/main.yml
blob: 318af77b790d1014c0f4f88f266dc95102380579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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