xoxys.vaultwarden_docker/molecule/centos7/converge.yml

41 lines
928 B
YAML
Raw Normal View History

2020-01-17 21:00:14 +00:00
---
- name: Converge (Stage 1)
2020-01-17 21:00:14 +00:00
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:
2020-01-17 21:00:14 +00:00
postgres_repository_enabled: True
postgres_connection_addresses:
- "{{ ansible_docker0.ipv4.address }}"
postgres_users:
- name: "pgbitwardenrs"
password: "secure"
priv: ALL
db: "bitwardenrs"
postgres_dbs:
- name: "bitwardenrs"
postgres_hba_entries_extra:
- contype: host
databases:
- all
users:
- all
address: "172.18.0.0/16"
auth_method: md5
bitwardenrs_db_server: "{{ ansible_docker0.ipv4.address }}"
roles:
- role: xoxys.postgres
2020-01-22 18:38:54 +00:00
- role: xoxys.bitwardenrs_docker