service: Set static ips for other containers too
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
source: "{{ _service_database_name }}"
|
||||
destination: /var/lib/postgresql/data
|
||||
container_networks: "{{ _service_database_networks }}"
|
||||
container_ip: >-
|
||||
{{ service_container_ip | ansible.utils.ipmath(1) if _service_static_ip else '' }}
|
||||
container_secrets:
|
||||
- name: "{{ _service_database_name }}"
|
||||
target: "{{ service_database_type }}"
|
||||
|
||||
Reference in New Issue
Block a user