summaryrefslogtreecommitdiffstats
path: root/test/fixtures/formatting-before/fmt-5.yml
blob: a9145e6f16c34923f511969d6b23169f142ddc3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
- name: Test this playbook
  hosts: all
  tasks:
    - 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