mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Parameterized include statements can see top level variables and also be passed specific variables!
Code needs cleanup, but works
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
http_port: 80
|
||||
max_clients: 200
|
||||
tasks:
|
||||
- include: base.yml
|
||||
- include: base.yml favcolor=blue
|
||||
- name: write the apache config file using vars set above
|
||||
action: template src=/srv/httpd.j2 dest=/etc/httpd.conf
|
||||
notify:
|
||||
|
||||
Reference in New Issue
Block a user