summaryrefslogtreecommitdiffstats
path: root/test/fixtures/formatting-prettier/fmt-4.yml
blob: 5ded596bfc637bb7f48876cb164917d17a511140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
- name: Gather all legacy facts
  cisco.ios.ios_facts:

- name: Update modification and access time of given file
  ansible.builtin.file:
    path: /etc/some_file
    state: file
    modification_time: now
    access_time: now

- name: Disable ufw service
  ansible.builtin.service:
    name: ufw
    enabled: false
    state: stopped
  when: '"ufw" in services'

- name: Remove file (delete file)
  ansible.builtin.file:
    path: /etc/foo.txt
    state: absent