Add nginx to ns group

Used to authenticate certficates from letsencrypt.
This commit is contained in:
Timo Makinen 2020-09-03 20:24:57 +00:00
parent e10d84305a
commit 46bdda437d
3 changed files with 7 additions and 0 deletions

View file

@ -3,6 +3,8 @@ firewall_in:
- {proto: tcp, port: 22, from: [172.20.20.0/22, 81.175.130.44/32]}
- {proto: tcp, port: 53}
- {proto: udp, port: 53}
- {proto: tcp, port: 80}
- {proto: tcp, port: 443}
# - {proto: tcp, port: 853}
ifstated_config: ifstated-ns.conf

View file

@ -1,2 +1,3 @@
---
network_carp_interfaces: []
nsd_server: ns2.foo.sh

View file

@ -12,5 +12,9 @@
roles:
- base
- nsd
- role: nginx/server
- role: nginx/site
site: "{{ nsd_server }}"
redirect: https://www.foo.sh/
- role: ifstated
when: "'vultr' not in group_names"