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>
751 B
751 B
— eth0_ip: 10.3.169.116 nm: 255.255.255.0 gw: 10.3.169.254 dns: 10.3.163.33 ks_url: http://10.3.163.35/repo/rhel/ks/kvm-rhel-8-iad2 ks_repo: http://10.3.163.35/repo/rhel/RHEL8-x86_64/ volgroup: /dev/vg_guests vmhost: bvmhost-x86-05.iad2.fedoraproject.org datacenter: iad2
mem_size: 16384 num_cpus: 8
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.iad2.fedoraproject.org