nginx_site: Prefix all variables with role name
This commit is contained in:
parent
15c612cb3b
commit
2119f96382
9 changed files with 103 additions and 101 deletions
|
@ -18,7 +18,7 @@
|
|||
- dhcpd
|
||||
- nginx/server
|
||||
- role: nginx_site
|
||||
site: gw.home.foo.sh
|
||||
nginx_site_name: gw.home.foo.sh
|
||||
- tftp
|
||||
- websockify
|
||||
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
- dovecot
|
||||
- role: nginx/server
|
||||
- role: nginx_site
|
||||
site: "{{ mail_server }}"
|
||||
redirect: https://webmail.foo.sh/
|
||||
nginx_site_name: "{{ mail_server }}"
|
||||
nginx_site_redirect: https://webmail.foo.sh/
|
||||
- grossd
|
||||
- spamassassin
|
||||
- spamassassin_clamav
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
- telegraf
|
||||
- nginx/server
|
||||
- role: nginx_site
|
||||
site: iot.foo.sh
|
||||
nginx_site_name: iot.foo.sh
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
- base
|
||||
- nginx/server
|
||||
- role: nginx_site
|
||||
site: oob.foo.sh
|
||||
nginx_site_name: oob.foo.sh
|
||||
- sssd
|
||||
- mkhomedir
|
||||
- tftp
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
- nsd
|
||||
- role: nginx/server
|
||||
- role: nginx_site
|
||||
site: "{{ nsd_server }}"
|
||||
redirect: https://www.foo.sh/
|
||||
nginx_site_name: "{{ nsd_server }}"
|
||||
nginx_site_redirect: https://www.foo.sh/
|
||||
- role: ifstated
|
||||
when: "'vultr' not in group_names"
|
||||
|
|
|
@ -17,92 +17,94 @@
|
|||
- ifstated
|
||||
- nginx/server
|
||||
- role: nginx_site
|
||||
site: ca.foo.sh
|
||||
nginx_site_name: ca.foo.sh
|
||||
- role: nginx_site
|
||||
site: foo.monster
|
||||
nginx_site_name: foo.monster
|
||||
- role: nginx_site
|
||||
site: tuiradc.fi
|
||||
redirect: https://facebook.com/TuiraDC
|
||||
nginx_site_name: tuiradc.fi
|
||||
nginx_site_redirect: https://facebook.com/TuiraDC
|
||||
- role: nginx_site
|
||||
site: www.tuiradc.fi
|
||||
redirect: https://facebook.com/TuiraDC
|
||||
nginx_site_name: www.tuiradc.fi
|
||||
nginx_site_redirect: https://facebook.com/TuiraDC
|
||||
- role: nginx_site
|
||||
site: foo.sh
|
||||
redirect: https://www.foo.sh/
|
||||
nginx_site_name: foo.sh
|
||||
nginx_site_redirect: https://www.foo.sh/
|
||||
- role: nginx_site
|
||||
site: autoconfig.foo.sh
|
||||
nginx_site_name: autoconfig.foo.sh
|
||||
- role: nginx_site
|
||||
site: boot.foo.sh
|
||||
ssl_config: old
|
||||
nginx_site_name: boot.foo.sh
|
||||
nginx_site_ssl_config: old
|
||||
- role: nginx_site
|
||||
site: bitbucket.foo.sh
|
||||
redirect: https://bitbucket.org/tmakinen/
|
||||
nginx_site_name: bitbucket.foo.sh
|
||||
nginx_site_redirect: https://bitbucket.org/tmakinen/
|
||||
- role: nginx_site
|
||||
site: certbot.home.foo.sh
|
||||
proxy: https://certbot.home.foo.sh/
|
||||
nginx_site_name: certbot.home.foo.sh
|
||||
nginx_site_proxy: https://certbot.home.foo.sh/
|
||||
- role: nginx_site
|
||||
site: chat.foo.sh
|
||||
proxy:
|
||||
nginx_site_name: chat.foo.sh
|
||||
nginx_site_proxy:
|
||||
- https://oci-node01.home.foo.sh/rocketchat/
|
||||
- https://oci-node02.home.foo.sh/rocketchat/
|
||||
- role: nginx_site
|
||||
site: collab.foo.sh
|
||||
proxy: https://collab01.home.foo.sh/
|
||||
nginx_site_name: collab.foo.sh
|
||||
nginx_site_proxy: https://collab01.home.foo.sh/
|
||||
- role: nginx_site
|
||||
site: devel01.foo.sh
|
||||
proxy: https://devel01.home.foo.sh/
|
||||
nginx_site_name: devel01.foo.sh
|
||||
nginx_site_proxy: https://devel01.home.foo.sh/
|
||||
- role: nginx_site
|
||||
site: dns.home.foo.sh
|
||||
redirect: https://www.foo.sh/
|
||||
nginx_site_name: dns.home.foo.sh
|
||||
nginx_site_redirect: https://www.foo.sh/
|
||||
- role: nginx_site
|
||||
site: git.foo.sh
|
||||
proxy: https://gitea02.home.foo.sh/
|
||||
nginx_site_name: git.foo.sh
|
||||
nginx_site_proxy: https://gitea02.home.foo.sh/
|
||||
- role: nginx_site
|
||||
site: gitea.foo.sh
|
||||
redirect: https://git.foo.sh/
|
||||
nginx_site_name: gitea.foo.sh
|
||||
nginx_site_redirect: https://git.foo.sh/
|
||||
- role: nginx_site
|
||||
site: ha.foo.sh
|
||||
proxy: https://homeassistant01.home.foo.sh/
|
||||
nginx_site_name: ha.foo.sh
|
||||
nginx_site_proxy: https://homeassistant01.home.foo.sh/
|
||||
- role: nginx_site
|
||||
site: id.foo.sh
|
||||
proxy:
|
||||
nginx_site_name: id.foo.sh
|
||||
nginx_site_proxy:
|
||||
- https://oci-node01.home.foo.sh
|
||||
- https://oci-node02.home.foo.sh
|
||||
- role: nginx_site
|
||||
site: influxdb.foo.sh
|
||||
proxy: https://influxdb01.home.foo.sh/
|
||||
nginx_site_name: influxdb.foo.sh
|
||||
nginx_site_proxy: https://influxdb01.home.foo.sh/
|
||||
- role: nginx_site
|
||||
site: iot.foo.sh
|
||||
redirect: https://www.foo.sh/
|
||||
nginx_site_name: iot.foo.sh
|
||||
nginx_site_redirect: https://www.foo.sh/
|
||||
- role: nginx_site
|
||||
site: munin.foo.sh
|
||||
proxy: https://munin01.home.foo.sh/
|
||||
nginx_site_name: munin.foo.sh
|
||||
nginx_site_proxy: https://munin01.home.foo.sh/
|
||||
- role: nginx_site
|
||||
site: mirrors.foo.sh
|
||||
proxy: https://mirror01.home.foo.sh/
|
||||
nginx_site_name: mirrors.foo.sh
|
||||
nginx_site_proxy: https://mirror01.home.foo.sh/
|
||||
- role: nginx_site
|
||||
site: movies.foo.sh
|
||||
proxy:
|
||||
nginx_site_name: movies.foo.sh
|
||||
nginx_site_proxy:
|
||||
- https://oci-node01.home.foo.sh/php4dvd/
|
||||
- role: nginx_site
|
||||
site: noc.foo.sh
|
||||
proxy:
|
||||
nginx_site_name: noc.foo.sh
|
||||
nginx_site_proxy:
|
||||
- https://oci-node01.home.foo.sh/grafana/
|
||||
- https://oci-node02.home.foo.sh/grafana/
|
||||
- role: nginx_site
|
||||
site: print.foo.sh
|
||||
proxy: https://print01.home.foo.sh:631/
|
||||
nginx_site_name: print.foo.sh
|
||||
nginx_site_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"]
|
||||
nginx_site_name: registry.foo.sh
|
||||
nginx_site_proxy:
|
||||
- "registry01.home.foo.sh:5000"
|
||||
- "registry02.home.foo.sh:5000"
|
||||
- role: nginx_site
|
||||
site: webmail.foo.sh
|
||||
proxy:
|
||||
nginx_site_name: webmail.foo.sh
|
||||
nginx_site_proxy:
|
||||
- https://oci-node01.home.foo.sh/roundcube/
|
||||
- role: nginx_site
|
||||
site: wpad.foo.sh
|
||||
nginx_site_name: wpad.foo.sh
|
||||
- role: nginx_site
|
||||
site: www.foo.sh
|
||||
nginx_site_name: www.foo.sh
|
||||
- role: nginx_site
|
||||
site: zm.foo.sh
|
||||
proxy: https://zm02.home.foo.sh/
|
||||
nginx_site_name: zm.foo.sh
|
||||
nginx_site_proxy: https://zm02.home.foo.sh/
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
- relayd
|
||||
- nginx/server
|
||||
- role: nginx_site
|
||||
site: ldap.foo.sh
|
||||
redirect: https://www.foo.sh/
|
||||
nginx_site_name: ldap.foo.sh
|
||||
nginx_site_redirect: https://www.foo.sh/
|
||||
- role: nginx_site
|
||||
site: ldap01.foo.sh
|
||||
redirect: https://www.foo.sh/
|
||||
nginx_site_name: ldap01.foo.sh
|
||||
nginx_site_redirect: https://www.foo.sh/
|
||||
- role: nginx_site
|
||||
site: loghost.foo.sh
|
||||
redirect: https://www.foo.sh/
|
||||
nginx_site_name: loghost.foo.sh
|
||||
nginx_site_redirect: https://www.foo.sh/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue