xoxys.freshrss_docker/molecule/default/playbook.yml
Robert Kaussow 15bbb52f46
All checks were successful
continuous-integration/drone/push Build is passing
refactor molecule
2019-10-27 23:23:44 +01:00

38 lines
803 B
YAML

---
- name: Converge (Stage 1)
hosts: all
vars:
dockerengine_packages_extra:
- epel-release
- python2-pip
roles:
- role: xoxys.docker-engine
- name: Converge (Stage 2)
hosts: all
vars:
postgres_repository_enabled: True
postgres_connection_addresses:
- "{{ ansible_docker0.ipv4.address }}"
postgres_users:
- name: "pgfreshrss"
password: "secure"
priv: ALL
db: "freshrss"
postgres_dbs:
- name: "freshrss"
postgres_hba_entries_extra:
- contype: host
databases:
- all
users:
- all
address: "172.18.0.0/16"
auth_method: md5
freshrss_db_server: "{{ ansible_docker0.ipv4.address }}"
roles:
- role: xoxys.postgres
- role: xoxys.freshrss_docker