summaryrefslogtreecommitdiffstats
path: root/test/fixtures/formatting-after/fmt-5.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/formatting-after/fmt-5.yml')
-rw-r--r--test/fixtures/formatting-after/fmt-5.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/fixtures/formatting-after/fmt-5.yml b/test/fixtures/formatting-after/fmt-5.yml
new file mode 100644
index 0000000..b259e0e
--- /dev/null
+++ b/test/fixtures/formatting-after/fmt-5.yml
@@ -0,0 +1,25 @@
+---
+- 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