--- - import_playbook: "include/deploy-kvm-guest.yml myhosts=proxy" - name: configure instance hosts: proxy user: root gather_facts: true vars_files: - "{{ ansible_private }}/vars.yml" roles: - base - ifstated - nginx/server - role: nginx/site site: foo.monster - role: nginx/site site: foo.sh redirect: https://www.foo.sh/ - role: nginx/site site: autoconfig.foo.sh - role: nginx/site site: boot.foo.sh ssl_config: old - role: nginx/site site: bitbucket.foo.sh redirect: https://bitbucket.org/tmakinen/ - role: nginx/site site: certbot.home.foo.sh proxy: https://certbot.home.foo.sh/ - role: nginx/site site: collab.foo.sh proxy: https://collab01.home.foo.sh/ - role: nginx/site site: devel01.foo.sh proxy: https://devel01.home.foo.sh/ - role: nginx/site site: dns.home.foo.sh redirect: https://www.foo.sh/ - role: nginx/site site: git.foo.sh proxy: https://git02.home.foo.sh/ - role: nginx/site site: id.foo.sh proxy: [ldap01.home.foo.sh, ldap02.home.foo.sh] - role: nginx/site site: jenkins.foo.sh proxy: https://jenkins01.home.foo.sh/ - role: nginx/site site: munin.foo.sh proxy: https://munin01.home.foo.sh/ - role: nginx/site site: mirrors.foo.sh proxy: https://mirror01.home.foo.sh/ - role: nginx/site site: print.foo.sh proxy: https://print01.home.foo.sh:631/ - role: nginx/site site: registry.foo.sh proxy: ["registry01.home.foo.sh:5000", "registry02.home.foo.sh:5000"] - role: nginx/site site: wpad.foo.sh - role: nginx/site site: www.foo.sh - role: nginx/site site: zm.foo.sh proxy: https://zm02.home.foo.sh/