ansible-lint fixes for host group playbooks
This commit is contained in:
parent
112d51c67f
commit
2e97e2af9e
28 changed files with 281 additions and 204 deletions
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
- import_playbook: "include/deploy-kvm-guest.yml myhosts=relay"
|
||||
- name: Deploy KVM virtual machines
|
||||
ansible.builtin.import_playbook: >-
|
||||
include/deploy-kvm-guest.yml myhosts=relay
|
||||
|
||||
- name: configure instance
|
||||
- name: Configure instance
|
||||
hosts: relay
|
||||
user: root
|
||||
gather_facts: true
|
||||
|
@ -14,16 +16,12 @@
|
|||
- ifstated
|
||||
- relayd
|
||||
- nginx/server
|
||||
|
||||
tasks:
|
||||
- include_role:
|
||||
name: nginx/site
|
||||
vars:
|
||||
site: "{{ sitename }}"
|
||||
redirect: https://www.foo.sh/
|
||||
with_items:
|
||||
- ldap.foo.sh
|
||||
- ldap01.foo.sh
|
||||
- loghost.foo.sh
|
||||
loop_control:
|
||||
loop_var: sitename
|
||||
- role: nginx/site
|
||||
site: ldap.foo.sh
|
||||
redirect: https://www.foo.sh/
|
||||
- role: nginx/site
|
||||
site: ldap01.foo.sh
|
||||
redirect: https://www.foo.sh/
|
||||
- role: nginx/site
|
||||
site: loghost.foo.sh
|
||||
redirect: https://www.foo.sh/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue