summaryrefslogtreecommitdiffstats
path: root/test/fixtures/formatting-prettier/fmt-4.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
commit6321bd49c49eb2bb436cf7fb4842c4c424198de7 (patch)
treef34b66b4551dfe468bbcb29d0dcec5384556543b /test/fixtures/formatting-prettier/fmt-4.yml
parentAdding debian version 6.17.2-3. (diff)
downloadansible-lint-6321bd49c49eb2bb436cf7fb4842c4c424198de7.tar.xz
ansible-lint-6321bd49c49eb2bb436cf7fb4842c4c424198de7.zip
Merging upstream version 24.6.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/fixtures/formatting-prettier/fmt-4.yml')
-rw-r--r--test/fixtures/formatting-prettier/fmt-4.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/fixtures/formatting-prettier/fmt-4.yml b/test/fixtures/formatting-prettier/fmt-4.yml
new file mode 100644
index 0000000..5ded596
--- /dev/null
+++ b/test/fixtures/formatting-prettier/fmt-4.yml
@@ -0,0 +1,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