fix playbook
All checks were successful
🏃♂️Run Ansible / install_ansible (push) Successful in 3m38s
All checks were successful
🏃♂️Run Ansible / install_ansible (push) Successful in 3m38s
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
- name: Create List with right interface
|
- name: Create List with right interface
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
node_ips_eth0: "{{ groups['grafana_servers'] | map('extract', hostvars, ['ansible_facts', 'eth0', 'ipv4', 'address']) }}"
|
node_ips_eth0: "{{ groups['grafana_servers'] | map('extract', hostvars, ['ansible_facts', 'eth0', 'ipv4', 'address']) }}"
|
||||||
|
when: inventory_hostname in groups['postgresql']
|
||||||
|
|
||||||
- name: Fügen Sie die Gitea pg_hba Einträge zur Patroni-Liste hinzu
|
- name: Fügen Sie die Gitea pg_hba Einträge zur Patroni-Liste hinzu
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
@@ -27,6 +28,7 @@
|
|||||||
postgresql_App_db_owner: "{{ grafana_db_user }}"
|
postgresql_App_db_owner: "{{ grafana_db_user }}"
|
||||||
postgresql_App_db_owner_password: "{{ grafana_db_password }}"
|
postgresql_App_db_owner_password: "{{ grafana_db_password }}"
|
||||||
postgresql_App_db_name: "{{ grafana_db_name }}"
|
postgresql_App_db_name: "{{ grafana_db_name }}"
|
||||||
|
when: inventory_hostname in groups['postgresql']
|
||||||
|
|
||||||
- hosts:
|
- hosts:
|
||||||
- grafana_servers
|
- grafana_servers
|
||||||
|
|||||||
Reference in New Issue
Block a user