Add nginx to ns group
Used to authenticate certficates from letsencrypt.
This commit is contained in:
parent
e10d84305a
commit
46bdda437d
3 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,8 @@ firewall_in:
|
||||||
- {proto: tcp, port: 22, from: [172.20.20.0/22, 81.175.130.44/32]}
|
- {proto: tcp, port: 22, from: [172.20.20.0/22, 81.175.130.44/32]}
|
||||||
- {proto: tcp, port: 53}
|
- {proto: tcp, port: 53}
|
||||||
- {proto: udp, port: 53}
|
- {proto: udp, port: 53}
|
||||||
|
- {proto: tcp, port: 80}
|
||||||
|
- {proto: tcp, port: 443}
|
||||||
# - {proto: tcp, port: 853}
|
# - {proto: tcp, port: 853}
|
||||||
|
|
||||||
ifstated_config: ifstated-ns.conf
|
ifstated_config: ifstated-ns.conf
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
---
|
---
|
||||||
network_carp_interfaces: []
|
network_carp_interfaces: []
|
||||||
|
nsd_server: ns2.foo.sh
|
||||||
|
|
|
@ -12,5 +12,9 @@
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- nsd
|
- nsd
|
||||||
|
- role: nginx/server
|
||||||
|
- role: nginx/site
|
||||||
|
site: "{{ nsd_server }}"
|
||||||
|
redirect: https://www.foo.sh/
|
||||||
- role: ifstated
|
- role: ifstated
|
||||||
when: "'vultr' not in group_names"
|
when: "'vultr' not in group_names"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue