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>
857 B
857 B
— eth0_ip: 10.5.125.44 eth1_ip: 10.5.127.69 nm: 255.255.255.0 gw: 10.5.125.254 dns: 10.5.126.21 ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7 ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/ volgroup: /dev/vg_guests vmhost: bvirthost04.phx2.fedoraproject.org datacenter: phx2
mem_size: 16384 num_cpus: 8
virt_install_command: "{{ virt_install_command_two_nic }}"
host_backup_targets: ['/srv/cache/lookaside'] nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=3"
ssh_hostnames:
- pkgs.fedoraproject.org
additional_host_keytabs:
- pkgs.fedoraproject.org
nrpe_procs_warn: 500 nrpe_procs_crit: 600
sar_script: /usr/local/bin/pagure_sar.py sar_script_user: root sar_output_file: dist_git.json
pagure_db_host: db01.phx2.fedoraproject.org