ansible/inventory/host_vars/cloud-noc01.fedorainfracloud.org
Kevin Fenzi 580cd252c5 Inventory group/host variables: Sort yaml
This was done using yq (
https://mikefarah.gitbook.io/yq/operators/sort-keys )

Doing things this way makes it much easier to see if a variable is set
in a file or if two hosts differ in what variables they set. Hopefully
we can keep things sorted moving forward.

Basically this means just sort a-z anything you add to any host or group
vaiable and it will be in the right place.

Additionally, this enforces 'normal' intent rules for all the variable
files which we should also try and obey. 2 spaces for first level, 3 for
next, etc. When in doubt you can run yq on it.

This should cause NO actual vairable changes, it's all just readability
fixing for humans, ansible parses it exactly the same.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-16 13:27:57 -08:00

1.6 KiB
Raw Blame History

— custom_rules: ['-A INPUT -i eth0 -p tcp -m tcp -s 38.145.48.0/23 dport 67 -j ACCEPT', '-A INPUT -i eth0 -p tcp -m tcp -s 38.145.48.0/23 dport 68 -j ACCEPT', '-A INPUT -i eth0 -p tcp -m tcp -s 38.145.48.0/23 dport 69 -j ACCEPT', '-A INPUT -i eth0 -p udp -m udp -s 38.145.48.0/23 dport 67 -j ACCEPT', '-A INPUT -i eth0 -p udp -m udp -s 38.145.48.0/23 dport 68 -j ACCEPT', '-A INPUT -i eth0 -p udp -m udp -s 38.145.48.0/23 dport 69 -j ACCEPT', '-A INPUT -i eth1 -p tcp -m tcp -s 172.23.0.0/23 dport 67 -j ACCEPT', '-A INPUT -i eth1 -p tcp -m tcp -s 172.23.0.0/23 dport 68 -j ACCEPT', '-A INPUT -i eth1 -p tcp -m tcp -s 172.23.0.0/23 dport 69 -j ACCEPT', '-A INPUT -i eth1 -p udp -m udp -s 172.23.0.0/23 dport 67 -j ACCEPT', '-A INPUT -i eth1 -p udp -m udp -s 172.23.0.0/23 dport 68 -j ACCEPT', '-A INPUT -i eth1 -p udp -m udp -s 172.23.0.0/23 dport 69 -j ACCEPT', '-A INPUT -i eth0 -p udp -m udp -s 38.145.48.0/23 dport 124 -j ACCEPT'] datacenter: cloud dns: 8.8.8.8 eth0_ip: 38.145.48.10 eth1_ip: 172.23.1.1 freezes: false gw: 38.145.49.254 ks_repo: http://infrastructure.fedoraproject.org/repo/rhel/RHEL7-x86_64/ ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-7-ext lvm_size: 20000 max_mem_size: 20480 mem_size: 16384 nm: 255.255.255.0 nrpe_procs_crit: 1000 nrpe_procs_warn: 900 num_cpus: 8 public_hostname: cloud-noc01.fedorainfracloud.org resolvconf: "{{ files }}/resolv.conf/cloud-noc01.fedorainfracloud.org" tcp_ports: ['22'] virt_install_command: "{{ virt_install_command_two_nic }}" vmhost: virthost-cloud01.fedorainfracloud.org volgroup: /dev/vg_guests vpn: false