--- - name: Converge (Stage 1) hosts: all roles: - role: xoxys.python3 - 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: "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 - role: xoxys.bitwardenrs