Nils Philippsen
6c85fda0c9
Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
...
Signed-off-by: Nils Philippsen <nils@redhat.com >
2025-07-03 20:05:02 +02:00
Ryan Lerch
6a3816dfdc
ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
...
Replaces many references to 'copy' with ansible.builtin.copy
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 10:43:31 +10:00
Ryan Lerch
691adee6ee
Fix name[casing] ansible-lint issues
...
fix 1900 failures of the following case issue:
`name[casing]: All names should start with an uppercase letter.`
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-14 20:20:07 +10:00
Kevin Fenzi
8ee9c66072
hosts: try again as the last simple fix was too simple
...
So, we need a bit more logic here.
We want to use the vpn hosts file only if something is on the vpn and
it's also not in iad2. In iad2 we want the normal hosts file.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2021-04-05 10:15:52 -07:00
Kevin Fenzi
d36a478580
hosts: make a hacky, but hopefully working way of handling vpn
...
This isn't very clever, but it should work and be easily understandable.
We likely want to come up with a better way to do these hosts files
entirely, but it can wait until after freeze.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2021-04-05 10:07:58 -07:00
Kevin Fenzi
b4df850535
Revert "hosts: then and if swapped?"
...
This reverts commit b8f411c96b .
2021-04-01 16:47:21 -07:00
Kevin Fenzi
b8f411c96b
hosts: then and if swapped?
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2021-04-01 16:16:23 -07:00
Nils Philippsen
7a2024398f
hosts: do the right thing for VPN hosts
...
Move the vpn ./. base logic from the ipa/client role into the hosts
role, so that applying the latter doesn't apply the base profile on VPN
hosts.
Fixes: fedora-infrastructure#9822
Signed-off-by: Nils Philippsen <nils@redhat.com >
2021-04-01 16:31:59 +02:00
Nils Philippsen
bcfe96b710
ipa/client: Enable VPN hosts to talk to IPA
...
This requires the canonical names of IPA servers to be mapped to their
IP addresses on the VPN as well as specifying the IPA server explicitly
when enrolling clients.
Signed-off-by: Nils Philippsen <nils@redhat.com >
2021-03-24 18:19:11 +01:00
Rick Elrod
bfbe977dbe
hosts: unindent to be consistent with most of our other files
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2020-04-24 21:34:15 +02:00
Rick Elrod
cf67c4bc84
hosts: try getting rid of files subsection here
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2020-04-24 21:34:15 +02:00
Kevin Fenzi
ccd4c894f4
hosts: try specifying the role_path
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:15 +02:00
Kevin Fenzi
7463139d30
hosts: ok, try just defaulting here.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:15 +02:00
Kevin Fenzi
5c7e74c4f3
hosts: not there in the middle of the loop though
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:15 +02:00
Kevin Fenzi
5445c73468
hosts: try moving the ignore up
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:15 +02:00
Kevin Fenzi
28308be9ac
hosts: it's errors: ignore
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:15 +02:00
Kevin Fenzi
3f72916683
hosts: another case of skip:true
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:15 +02:00
Kevin Fenzi
8358a3f198
revert back to skip: true for these.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-05-29 02:20:50 +00:00
Kevin Fenzi
386d9a1d02
base/hosts: Clean up some depreciations.
...
koji_builder/sudo: Clean up some more depreciations.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-05-28 20:47:54 +00:00
Patrick Uiterwijk
4ac18d2200
If a host has no specific hosts file in ansible, make it an empty one
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2016-12-15 01:21:26 +00:00
Kevin Fenzi
04a52b8667
Death to all trailing whitespace.
2016-08-08 19:36:31 +00:00
Kevin Fenzi
a32f8b9e4a
Change ansible_fqdn to inventory_hostname. This fixes some few hosts that have incorrect reverse dns
...
and shouldn't break any others since we always use fully qualified in our inventory.
2016-05-11 15:08:50 +00:00
Kevin Fenzi
f0c80375b5
Remove action: in all roles.
2016-01-06 21:58:31 +00:00
Peter Robinson
944a9223f5
hosts file: prioritise more specific host_group over more generic ansible_domain to ensure task specific hosts get right config
2015-07-29 16:20:44 +00:00
Kevin Fenzi
4d057b32e9
See if adding this here fixes an issue with stg.
...
Basically if /etc/hosts has proxy01.phx2.fedoraproject.org in it,
ansible picks that up and gets the host file for that instead of
the one for proxy01.stg.phx2.fedoraproject.org and it flips back
and forth on ansible runs.
2015-07-06 20:39:09 +00:00
Stephen Smoogen
fc2aae01ac
ooops
2014-11-04 02:22:30 +00:00
Stephen Smoogen
d0591e8037
I think now I can get the datacenter working
2014-11-04 02:21:34 +00:00
Kevin Fenzi
232be783ca
Fold a bunch of staging hosts files into a common one, add hosts tag to role.
2014-07-14 22:06:05 +00:00
Kevin Fenzi
3a0d2d4483
Fix paths
2014-06-23 01:01:24 +00:00
Kevin Fenzi
800c03d37e
Move hosts to a role and put it before fas_client so initial runs can find admin.
2014-06-23 00:49:31 +00:00