Commit Graph

30 Commits

Author SHA1 Message Date
iamyaash
b3d6a90b9a motd generic template added
migrated notes from infra/hosts

motd changes; excluding CSI infos

removed csi_* vars from group_vars; converted csi_purpose & csi_relationship into notes

fixed merge conflicts

minor changes; var

updating YAMLs & playbooks

udpated YAMLs & playbooks again

updated correctly; buildhw.yml

fixing merge conflicts

dest added in motd.yml
2025-01-28 01:10:14 +00:00
Ryan Lerch
2cf38c1f17 [yaml-lint] fix yamllint errors and warnings on plabooks
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-25 19:04:25 +10:00
Adam Williamson
6aa77e9423 openqa: try and fix on-disk encryption stuff
Some of the openqa workers are encrypted and some aren't (this is a bit of a
mess that's partly a result of all the redeployments we did around
https://bugzilla.redhat.com/show_bug.cgi?id=2009585 ). We should only run
the nbde_client role on workers which are encrypted. Hopefully this gets that
right.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-25 16:10:11 -08:00
Adam Williamson
94fbd1d58c openqa-workers group: drop broken, unnecessary condition
This is syntactically wrong, and it's not necessary any more
anyhow because we got someone to disconnect the problematic
network interfaces from the hardware.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-18 14:08:15 -04:00
Adam Williamson
fb51893a84 openqa/workers: skip nbde-client on a64 workers
They aren't encrypted, and it causes networking config problems.
We'd like to solve the underlying problem but we don't know how,
this is good enough for now. Also drop the workaround things
again because they don't seem to help.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-14 14:07:12 -07:00
Adam Williamson
72a1f710d5 Add nirik's nbde client fixups to openQA worker playbook
nirik did some stuff in the virthost and buildhw groups to try
and deal with a problem where network configuration created
during the initrd phase for the nbde_client role is activated
by NM during the regular system boot phase, which results in
the network configuration not being the one we actually want
and carefully set up. However, he didn't add this stuff to the
openqa-workers group playbook even though that uses the
nbde_client role too, and we sure are having the same problem
on the openQA workers. Adding it now to see if it helps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-14 12:35:03 -07:00
Kevin Fenzi
90c3bdd90f fix typo with == comparison
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-13 12:20:34 -07:00
Kevin Fenzi
70dc97b732 drop local clevis role and replace with linux-system-roles.nbde_client
The linux-system-roles.nbde_client does the right things and so one less
thing for us to maintain. It also avoids the problem we have on some
machines now where network interface names are not as the old clevis
role expected, so unlocking didn't work on boot. Hopefully this fixes
all those issues.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-13 12:10:25 -07:00
Adam Williamson
a86dfed582 Tag the ipa/client role in the openqa-workers playbook
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-21 12:13:08 -08:00
Nils Philippsen
6fcbc946ee ipa/client: enable for openqa in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01:00
Adam Williamson
95f062c07a openQA: allow all workers NFS write access, other tweaks
The main goal of these changes is to allow all workers in each
deployment NFS write access to the factory share. This is because
I want to try using os-autoinst's at-job-run-time decompression
of disk images instead of openQA's at-asset-download-time
decompression; it avoids some awkwardness with the asset file
name, and should also actually allow us to drop the decompression
code from openQA I think.

I also rejigged various other things at the same time as they
kinda logically go together. It's mostly cleanups and tweaks to
group variables. I tried to handle more things explicitly with
variables, as it's better for use of these plays outside of
Fedora infra.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-11-05 16:10:32 -08:00
Kevin Fenzi
acf4103459 Bring back openqa-stg01 and (some)workers as openqa-lab01
We decided that since this wasn't really a staging host, we should stop
calling it 'stg' and putting it in stg group. Since it's used for
testing new openqa and edge features, lab seemed appropriate.

This brings up a openqa-lab01 on qvmhost-x86-01 and a power9 and aarch64
workers. More workers to be added as they are installed. Ther will be at
least one more power9 and 2 more aarch64 boxes.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-21 14:49:17 -07:00
Stephen Smoogen
cfa4d24d9b add a role to make clevis work 2020-06-10 18:42:00 -04:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Kevin Fenzi
246ae4818c include vars in some more hardware playbooks 2018-11-19 00:35:07 +00:00
Kevin Fenzi
1dc149a5ca add 2fa client to pre here so we can get it working 2018-03-06 23:42:07 +00:00
Peter Robinson
f3a36eb162 openQA: run yumrepos as a pre task 2018-03-06 12:06:59 +00:00
Peter Robinson
255e1c1cab add openqa-hdds-workers group to openQA workers playbook 2018-03-06 11:51:15 +00:00
Kevin Fenzi
afef097a3d switch all the include tasks to import tasks 2017-10-17 17:37:03 +00:00
Kevin Fenzi
d9ee0059b4 typo on a massive scale 2017-10-15 20:33:11 +00:00
Kevin Fenzi
69fd8d117a switch all the handlers to import and drop the global static import 2017-10-15 20:29:59 +00:00
Kevin Fenzi
ceff9bfca4 first stab at replacing include with include_playbook or includ_tasks 2017-10-15 19:46:08 +00:00
Stephen Smoogen
d0b6c8ce06 and this is how you break everything before going on a week vacation 2017-05-05 22:12:33 +00:00
Kevin Fenzi
0acfaa2a7e Fix handlers, roles, and tasks to be handlers_path, roles_path and tasks_path so as not to conflict with ansible variables.
Fix duplicate definition of become default that was in group_vars/all as well as vars/global.
2017-04-13 15:46:14 +00:00
Ralph Bean
2226a9eae9 s/nagios_client/nagios\/client/g 2016-02-23 02:33:30 +00:00
Tim Flink
240189e8cb fixing typo in openqa-workers playbook 2015-11-13 20:27:15 +00:00
Adam Williamson
2b098b34bd set up for openQA deployment
This adds openQA server, worker and dispatcher roles, and
applies them to the appropriate hosts. A few secret vars are
required. See trac #4958 for discussion.
2015-11-13 09:49:00 -08:00
Tim Flink
25e6c0dbdf removing copy pasta from openqa-workers 2015-11-09 19:21:05 +00:00
Tim Flink
4e667a64bf fixing syntax error in openqa-workers host spec 2015-11-09 18:46:12 +00:00
Tim Flink
6bce843a11 initial ansible config for openqa, openqa-stg, openqa workers 2015-11-06 23:11:50 +00:00