Robert Kaussow
4cdd6b3373
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: Robert Kaussow <mail@geeklabor.de> Reviewed-on: #2 Co-authored-by: Robert Kaussow <xoxys@rknet.org> Co-committed-by: Robert Kaussow <xoxys@rknet.org>
41 lines
928 B
YAML
41 lines
928 B
YAML
---
|
|
- name: Converge (Stage 1)
|
|
hosts: all
|
|
vars:
|
|
dockerengine_packages_extra:
|
|
- epel-release
|
|
- python-pip
|
|
- python-virtualenv
|
|
|
|
roles:
|
|
- role: xoxys.docker_engine
|
|
|
|
- name: Converge (Stage 2)
|
|
hosts: all
|
|
environment:
|
|
PYTHONPATH: /opt/python2/ansible-deps/lib/python2.7/site-packages
|
|
vars:
|
|
postgres_repository_enabled: True
|
|
postgres_connection_addresses:
|
|
- "{{ ansible_docker0.ipv4.address }}"
|
|
postgres_users:
|
|
- name: "pgvaultwarden"
|
|
password: "secure"
|
|
priv: ALL
|
|
db: "vaultwarden"
|
|
postgres_dbs:
|
|
- name: "vaultwarden"
|
|
postgres_hba_entries_extra:
|
|
- contype: host
|
|
databases:
|
|
- all
|
|
users:
|
|
- all
|
|
address: "172.18.0.0/16"
|
|
auth_method: md5
|
|
vaultwarden_db_server: "{{ ansible_docker0.ipv4.address }}"
|
|
|
|
roles:
|
|
- role: xoxys.postgres
|
|
- role: xoxys.vaultwarden_docker
|