test/fixtures/formatting-after/fmt-4.yml
raw| 1 | --- |
| 2 | - name: Gather all legacy facts |
| 3 | cisco.ios.ios_facts: |
| 4 | |
| 5 | - name: Update modification and access time of given file |
| 6 | ansible.builtin.file: |
| 7 | path: /etc/some_file |
| 8 | state: file |
| 9 | modification_time: now |
| 10 | access_time: now |
| 11 | |
| 12 | - name: Disable ufw service |
| 13 | ansible.builtin.service: |
| 14 | name: ufw |
| 15 | enabled: false |
| 16 | state: stopped |
| 17 | when: '"ufw" in services' |
| 18 | |
| 19 | - name: Remove file (delete file) |
| 20 | ansible.builtin.file: |
| 21 | path: /etc/foo.txt |
| 22 | state: absent |