Commit graph

26 commits

Author SHA1 Message Date
Kevin Fenzi
6c540c184f inventory / host_vars: change infrastructure.fedoraproject.org url to iad2 instead of old phx2 ip
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-24 14:55:39 -08:00
Kevin Fenzi
19889ef877 fix more gateways and a mac address
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-26 13:19:45 -08:00
Pete Buffon
e8d75dd5d8 added default network connection for group_vars/staging + fixed *stg* dns_search1...3 2022-01-26 20:00:12 +00:00
Pete Buffon
d866ed3851 removed all keys {eth0_ipv4_nm: 24} 2022-01-25 22:17:11 +00:00
Pete Buffon
938e63fa71 mass vm host_vars edit for default network connection 2022-01-25 22:17:11 +00:00
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
Pierre-Yves Chibon
0f7a6efc2b pagure and distgit/pagure: Drop the db-pagure hostname and populate the db used in the inventor host file instead
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>
2020-05-26 14:08:01 +02:00
Stephen Smoogen
ea49504b53 pagure-stg: needs to have a netmask of 255.255.255.0 2020-04-24 21:34:29 +02:00
Pierre-Yves Chibon
c779310a28 pagure-stg: since it complains about the internal IP address, use the external one
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:29 +02:00
Pierre-Yves Chibon
0989bb3fd5 pagure: use the IP address rather than the domain name when pointing to the kickstart in pagure-stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:29 +02:00
Pierre-Yves Chibon
9acfe62519 pagure: make pagure-stg01 be a rhel8 host
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:29 +02:00
Stephen Smoogen
62ab6c0719 [pagure] 1. Make sure you do a git pull in the right directory. git rebase sucks. 2. Un hard code pagure.cfg configs. 3.Make it so rdu-cc has a resolv.conf so it doesnt default to phx2 2019-07-12 13:21:51 +00:00
Kevin Fenzi
75c12e400f pagure-stg01: set correct new ips
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-07-11 23:16:24 +00:00
Patrick Uiterwijk
6484d4e881 Add ssh hostnames for pagure
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-15 16:09:56 +00:00
Kevin Fenzi
fbaafe1896 ipv6 for osuosl hosts that want it 2016-12-14 21:29:09 +00:00
Kevin Fenzi
0215b152b2 Set effective cache size for all these postgresql role using machines that aren't dedicated db servers 2016-04-04 21:02:54 +00:00
Kevin Fenzi
e38c42c393 Drop ansible_ssh_host everywhere. 2016-02-26 21:03:59 +00:00
Kevin Fenzi
bb25cbd364 Fix duplicate key/typo on pagure-stg 2016-02-02 20:52:25 +00:00
Kevin Fenzi
8ecddf1cd2 Add netmask and other info to prep for having ansible manage network config. 2016-02-02 20:11:24 +00:00
Pierre-Yves Chibon
5fdef2a50c Let's not declare the same variable twice 2015-05-19 08:45:11 +02:00
Patrick Uiterwijk
abad3e470e pagure-stg01 is external 2015-05-11 12:53:27 +00:00
Pierre-Yves Chibon
edfab60ebc Typo 2015-05-11 10:36:56 +02:00
Pierre-Yves Chibon
58b3f2e6e4 IP doesn't work, try with the domain name 2015-05-11 09:56:39 +02:00
Pierre-Yves Chibon
42ae73cb4a Make pagure-stg01 be EL7 instead of Fedora 2015-05-11 09:34:49 +02:00
Pierre-Yves Chibon
64633aaf2c Let's try using the postgresql_server group for pagure 2015-04-02 20:10:04 +02:00
Kevin Fenzi
34abcff307 Add a pagure-stg01.fedoraproject.org at osuosl 2015-03-30 21:56:07 +00:00