Commit Graph

16 Commits

Author SHA1 Message Date
Ryan Lerch
3c41882bb0 ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
Replaces references to shell: with ansible.builtin.shell

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:29:10 +10:00
Ryan Lerch
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +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
82a3175c48 serial-console: only start gettys on x86_64
power and also now all our aarch64 bvmhosts shouldn't start serial
getty. Only the x86_64 ones have this, so just match on them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-15 10:43:27 -08:00
Kevin Fenzi
3bb1fbe254 serial-console: switch to shell since we are using wildcards
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-09 18:14:17 -08:00
Kevin Fenzi
73cfa04822 serial-console: grub2-editenv list doesn't get us boot args
grub2-editenv list  doesn't get us the boot args, so instead just grep
for them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-09 17:50:23 -08:00
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Kevin Fenzi
495b448e1d serial-console: ttyS0/S1 are not valid on ppc64le
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-14 13:43:45 -07:00
Kevin Fenzi
9fddbf3f3a serial-console: rework and enable on buildhw-x86
The buildhw-x86 blades also can enable serial console for ipmi/sol.
Rework this to handle the fedora case of options not being in
/etc/grub2-efi.cfg anymore.
Also set both serial S0 and S1 enabled, since some hardware seems to use
one and some uses the other.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-08 12:48:21 -08:00
Kevin Fenzi
fda9b67243 iad2: Setup serial console for sol in iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 11:10:28 -07:00
Patrick Uiterwijk
873dda5608 Make sure serial-console doesn't fail on non-efi boxes
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2019-07-03 10:48:21 +00:00
Kevin Fenzi
88b9913b1e this is grub2-efi.cfg on uefi installs 2018-08-24 22:19:08 +00:00
Kevin Fenzi
b1a2d105c9 In ansible 2.2 always_run is depreciated. Switch to check_mode. 2016-11-01 16:29:49 +00:00
Kevin Fenzi
eb63d3f9af and correct order for the link 2016-09-13 16:27:37 +00:00
Kevin Fenzi
ade5c20e1e fix typo 2016-09-13 16:24:35 +00:00
Kevin Fenzi
1d967b6b45 first cut at a serial console role for rhel7/fedora 2016-09-13 16:21:36 +00:00