summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-args-module-pass-1.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/playbooks/rule-args-module-pass-1.yml')
-rw-r--r--examples/playbooks/rule-args-module-pass-1.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/playbooks/rule-args-module-pass-1.yml b/examples/playbooks/rule-args-module-pass-1.yml
new file mode 100644
index 0000000..872cd39
--- /dev/null
+++ b/examples/playbooks/rule-args-module-pass-1.yml
@@ -0,0 +1,26 @@
+---
+- name: Fixture to validate module options pass scenario
+ hosts: localhost
+ tasks:
+ - name: Clone content repository
+ ansible.builtin.git:
+ repo: "{{ archive_services_repo_url }}"
+ dest: /home/www
+ accept_hostkey: true
+ version: master
+ update: false
+
+ - name: Enable service httpd and ensure it is not masked
+ ansible.builtin.systemd:
+ name: httpd
+ enabled: false
+ masked: false
+
+ - name: Clear deployment dir
+ ansible.builtin.file:
+ path: /opt/software/deployment
+ state: "{{ item }}"
+ mode: "0755"
+ with_items:
+ - absent
+ - directory