Compare commits
4 Commits
145dcfe3fb
...
6a938ea6b3
Author | SHA1 | Date | |
---|---|---|---|
6a938ea6b3 | |||
2765067560 | |||
3b133782c9 | |||
f6004def4a |
@ -41,7 +41,7 @@
|
||||
vars:
|
||||
postgresql_global_config_options:
|
||||
- option: listen_addresses
|
||||
value: 192.168.103.1,172.23.103.1
|
||||
value: 192.168.103.1,172.23.103.1,127.0.0.1
|
||||
postgresql_hba_entries:
|
||||
- { type: local, database: all, user: postgres, auth_method: peer }
|
||||
- { type: local, database: all, user: all, auth_method: md5 }
|
||||
@ -52,12 +52,14 @@
|
||||
# Allow hosts over zerotier
|
||||
- { type: host, database: all, user: all, address: '172.23.0.0/16', auth_method: md5 }
|
||||
postgresql_users:
|
||||
- name: gulagbot
|
||||
password: "{{ secret_gulagbot_local_db_pass }}"
|
||||
- name: grafana
|
||||
password: "{{ secret_grafana_local_db_pass }}"
|
||||
- name: gulagbot
|
||||
password: "{{ secret_gulagbot_local_db_pass }}"
|
||||
- name: firefly
|
||||
password: "{{ secret_firefly_db_pass }}"
|
||||
- name: nagios
|
||||
password: "{{ secret_postgresql_monitoring_password }}"
|
||||
postgresql_databases:
|
||||
- name: gulagbot
|
||||
owner: gulagbot
|
||||
|
@ -12,3 +12,6 @@
|
||||
- /data/nextcloud/themes:/var/www/html/themes
|
||||
- /srv/desu.ltd/nc:/var/www/html/data
|
||||
tags: [ docker, nextcloud ]
|
||||
- name: assure nextcloud cronjob
|
||||
cron: user=root name=nextcloud minute=*/5 job="docker exec --user www-data -it nextcloud php -f /var/www/html/cron.php"
|
||||
tags: [ docker, nextcloud, cron ]
|
||||
|
Loading…
Reference in New Issue
Block a user