|
|
|
|
@ -19,6 +19,23 @@
|
|
|
|
|
user={{ mysql_root_username }}
|
|
|
|
|
password={{ mysql_root_password }}
|
|
|
|
|
|
|
|
|
|
- name: DEBUG
|
|
|
|
|
debug:
|
|
|
|
|
msg: "ansible_all_ipv4_addresses: {{ ansible_all_ipv4_addresses }}"
|
|
|
|
|
|
|
|
|
|
- name: DEBUG
|
|
|
|
|
debug:
|
|
|
|
|
msg: "ansible_all_ipv4_addresses-FILTERED: {{ ansible_all_ipv4_addresses | ansible.netcommon.ipaddr(shared_service_network) }}"
|
|
|
|
|
|
|
|
|
|
- name: DEBUG
|
|
|
|
|
debug:
|
|
|
|
|
msg: "ansible_all_ipv4_addresses-FILTERED-firstelem: {{ ansible_all_ipv4_addresses | ansible.netcommon.ipaddr(shared_service_network) | first }}"
|
|
|
|
|
|
|
|
|
|
- name: DEBUG - break if only one IPv4-address was found
|
|
|
|
|
assert:
|
|
|
|
|
that:
|
|
|
|
|
- ansible_all_ipv4_addresses | length == 2
|
|
|
|
|
|
|
|
|
|
- name: "Install mariadb via include_role"
|
|
|
|
|
vars:
|
|
|
|
|
mysql_packages:
|
|
|
|
|
|