Basically, instead of relying on an obscure db-pagure variable that then needs to be specified in the /etc/hosts file. Just define the pagure_db_host variable in the host's inventory file so it exists as a variable available in the playbook/role. This makes things more explicit and easier to debug/tweak as needed. Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
770 B
770 B
— nm: 255.255.255.0 gw: 8.43.85.254 dns: 8.8.8.8
ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-7-ext ks_repo: http://infrastructure.fedoraproject.org/repo/rhel/RHEL7-x86_64/
volgroup: /dev/vg_guests
eth0_ip: 8.43.85.75 eth0_nm: 255.255.255.0 has_ipv6: yes eth0_ipv6: "2620:52:3:1:dead:beef:cafe:fed5" eth0_ipv6_gw: "2620:52:3:1:ffff:ffff:ffff:fffe"
vmhost: virthost-cc-rdu02.fedoraproject.org datacenter: rdu-cc
#
#
shared_buffers: "512MB" effective_cache_size: 0 temp_buffers: "8MB" max_stack_depth: "4MB"
ssh_hostnames:
- pagure.io
sar_script: /usr/local/bin/pagure_sar.py sar_script_user: git sar_output_file: pagure.json
pagure_db_host: 127.0.0.1