octalpermissions-failure.yml 513 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
---
- hosts: hosts
  vars:
    varset: varset
  tasks:
    - name: octal permissions test fail (600)
      file:
        path: foo
        mode: 600

11 12 13 14 15
    - name: octal permissions test fail (710)
      file:
        path: foo
        mode: 710

16 17 18 19 20 21 22 23 24 25 26 27
    - name: octal permissions test fail (123)
      file:
        path: foo
        mode: 123

    - name: octal permissions test fail (2000)
      file:
        path: bar
        mode: 2000

    - name: octal permissions test fail (777)
      file: path=baz mode=777