expand inventory
This commit is contained in:
parent
667ccf6ce9
commit
2410f56221
@ -20,3 +20,11 @@ all:
|
|||||||
ansible_host: drone-runner.stargate.internal
|
ansible_host: drone-runner.stargate.internal
|
||||||
smtp:
|
smtp:
|
||||||
ansible_host: smtp.stargate.internal
|
ansible_host: smtp.stargate.internal
|
||||||
|
guacamole:
|
||||||
|
ansible_host: guacamole.stargate.internal
|
||||||
|
bitwarden:
|
||||||
|
ansible_host: bitwarden.stargate.internal
|
||||||
|
webgateway:
|
||||||
|
ansible_host: apache.stargate.internal
|
||||||
|
openvpn:
|
||||||
|
ansible_host: openvpn.stargate.internal
|
||||||
|
@ -6,6 +6,24 @@
|
|||||||
name:
|
name:
|
||||||
- postgresql
|
- postgresql
|
||||||
|
|
||||||
|
- name: Add access to every host on local network
|
||||||
|
postgresql_pg_hba:
|
||||||
|
dest: /var/lib/postgres/data/pg_hba.conf
|
||||||
|
contype: host
|
||||||
|
users: all
|
||||||
|
databases: all
|
||||||
|
address: samenet
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Add access to every host via tls on local network
|
||||||
|
postgresql_pg_hba:
|
||||||
|
dest: /var/lib/postgres/data/pg_hba.conf
|
||||||
|
contype: hostssl
|
||||||
|
users: all
|
||||||
|
databases: all
|
||||||
|
address: samenet
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Enable and restart PostgreSQL daemon
|
- name: Enable and restart PostgreSQL daemon
|
||||||
service:
|
service:
|
||||||
name: postgresql
|
name: postgresql
|
||||||
|
Loading…
Reference in New Issue
Block a user