Jiri Kyjovsky
43af78b3c3
copr/hv09: hv09 was upgraded to fedora 40
2025-05-05 12:37:11 +02:00
Jiri Kyjovsky
a2b97ff58d
copr: fix bad indentation
2025-05-05 11:53:26 +02:00
Jiri Kyjovsky
0ba318e767
copr/hv add existing cron tag to cron related hv tasks
2025-05-05 11:35:50 +02:00
Jiri Kyjovsky
2dc4a6b5c0
copr/hv: delete logs older than 30 days
...
We have old RHEL 8 on hypervisors where is old version of virtlogd, not
having the max_age log rotation feature, thus doing this manually.
2025-05-05 11:27:53 +02:00
Jiri Kyjovsky
e07d13ee4e
copr: virtlogd rotate logs for hypervisors
...
Configure virtlogd to rotate logs older than 30 days. The default config
does not delete anything since we log to a lot of small files which are
ignored by the max size to rotate in default virtlogd config.
2025-04-28 18:10:12 +02:00
Michal Konecny
2ec055db6f
Use first uppercase letter for all handlers
...
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.
I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```
Then I went through all the changes and removed the ones that wasn't
expected to be changed.
Fixes https://pagure.io/fedora-infrastructure/issue/12391
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-02-10 20:31:49 +00:00
Ryan Lerch
47c68f478d
ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
...
Replaces references to template: with ansible.builtin.template
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:30:29 +10:00
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
25391e95b7
ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
...
Replaces many references to package: with ansible.builtin.package
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:28:00 +10: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
62952df107
ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
...
Replaces many references to file: with ansible.builtin.file
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 10:41:52 +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
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
Pavel Raiskup
8987db1c17
copr-hypervisor: run ansible in container
...
This is the way around outdated Ansible which chokes on F41 instances.
2024-11-18 18:44:36 +01:00
Jakub Kadlcik
a3086982d8
copr-hypervisor: bump Fedora version in ppc64le hack
2024-02-06 15:22:54 +01:00
Pavel Raiskup
e80b1e1050
copr/hypervisor: typo in task name
2023-11-13 16:51:28 +01:00
Pavel Raiskup
d9d6216679
copr-hypervisor: update docs
2023-10-25 13:02:43 +02:00
Pavel Raiskup
727605815f
copr/hypervisor: don't enable swap
...
This is (for) now done manually in /etc/fstab.
2023-10-06 17:54:36 +02:00
Pavel Raiskup
76ea698369
copr-hypervisor: more convenient reboot trigger, take #2
...
If we want to reboot all x86 machines, it is enough to do:
$ sudo rbac-playbook groups/copr-hypervisor.yml -l '*x86*' -k trigger_reboot
2023-08-22 08:55:00 +02:00
Pavel Raiskup
8e10725cc3
copr-hypervisor: more convenient reboot trigger
...
If we want to reboot all x86 machines, it is enough to do:
$ sudo rbac-playbook groups/copr-hypervisor.yml -l '*x86*' -k reboot_copr_hypervisor
2023-08-22 08:46:17 +02:00
Pavel Raiskup
6c41721631
copr-hypervisors: document, and increase ram for x86_64 VMs
2022-05-18 15:41:40 +02:00
Pavel Raiskup
1f659b735b
copr-hypervisor: work-around Copr Ansible plugin for RHEL 8 target
2022-05-17 09:59:41 +02:00
Pavel Raiskup
f03f6f421f
copr-hypervisor: install the helpers repo via copr ansible plugin
...
Because we already have the EPEL-8 chroot in Fedora Copr.
2022-05-16 16:01:08 +02:00
Pavel Raiskup
05f41424e8
copr-hypervisor: install libvirt packages earlier
...
... even libvirt-daemon
2022-05-16 15:25:41 +02:00
Pavel Raiskup
8bb92a4d51
copr-hypervisor: re-enable FAS user script
...
The original problem that led to disabling this task should be fixed
now.
2022-05-16 15:13:15 +02:00
Pavel Raiskup
532b3cad10
copr-hypervisor: disable auth key fixes, take #2
2022-01-28 11:08:21 +01:00
Pavel Raiskup
b76e1b92c8
copr-hypervisor: temporarily disable auth keys modifications
2022-01-28 10:23:29 +01:00
Pavel Raiskup
e103e35c4b
copr-hypervisor: tag the package installation task
2022-01-25 10:19:04 +01:00
Pavel Raiskup
08c1bc3f98
copr-hypervisor: install podman
...
This is needed to generate Fedora 35 qcow2 builder images.
2022-01-25 10:18:16 +01:00
Pavel Raiskup
028476bfa2
copr-hypervisor: set metadata_expire on helpers directory
2022-01-25 10:12:42 +01:00
Pavel Raiskup
6fc324cf25
copr-hypervisor: update helpers with tags
2022-01-25 10:09:35 +01:00
Pavel Raiskup
754e421ef3
copr-hypervisor: update helpers package with dnf
...
This should refresh the repository metadata.
2022-01-25 10:08:39 +01:00
Pavel Raiskup
ec5a00f25a
copr-hypervisor: install glanceclient
...
We need to be able to upload the built images into OpenStack.
2022-01-12 16:56:03 +01:00
Pavel Raiskup
e8bf32eb08
copr-builders: instantiate Power9 Oregon University OpenStack
2022-01-12 15:29:34 +01:00
Jakub Kadlcik
2825656bc5
copr: add keys in a way that is closer to cloud_setup_basic.yml
2021-11-18 23:10:14 +01:00
Pavel Raiskup
ede791ca5f
copr-be/copr-hv: always include setup_provisioning_environment
2021-10-08 13:10:44 +02:00
Pavel Raiskup
5f187f46f5
copr-hv: update README for the required grub.cfg update
2021-07-13 14:13:22 +02:00
Pavel Raiskup
f86ca36a5e
copr-hv: use x86_64 copr repo for praiskup-helpers
...
There's no ppc64 copr repo, yet. So $basearch doesn't work.
2021-06-28 11:19:31 +02:00
Pavel Raiskup
4f56951e30
copr-hv: eimg_config to be provision_config-tagged
2021-05-11 22:37:33 +02:00
Pavel Raiskup
f18d6ad963
hypervisor: use chcon not restorecon
...
... inside virt-sysprep, as there's no loaded policy to use.
2021-05-11 22:22:16 +02:00
Pavel Raiskup
e1cc610b7b
copr-hv: include buildsys pub key to every generated image
2021-05-11 20:57:08 +02:00
Pavel Raiskup
070da7fde0
copr-hv: correct the path to provision directory
2021-05-09 23:36:41 +02:00
Pavel Raiskup
2197736a84
copr-hv: tag the provision_config include
2021-05-07 21:26:38 +02:00
Pavel Raiskup
51605e4f69
copr-hv: try to include role's tasks
2021-05-07 20:15:12 +02:00
Pavel Raiskup
d646d7c54d
copr-hv: ssh pub file as copr-uid only, attempt #2
2021-05-07 19:36:37 +02:00
Pavel Raiskup
672a02ee3a
copr-hv: ssh pub file as copr-uid only
2021-05-07 19:29:51 +02:00
Pavel Raiskup
fe5073d8f5
copr-hv: prepare qcow2 images on hypervisors
2021-05-07 19:13:09 +02:00
Pavel Raiskup
3899746bd2
copr-hv: images in /libvirt-images to have qemu-group
...
And really allow qemu group to rwx that dir.
2021-05-04 18:13:15 +02:00
Pavel Raiskup
4ea239858b
copr-hv: correctly put copr user to qemu group
...
... to have access to /libvirt-images directory.
2021-05-04 17:59:10 +02:00
Pavel Raiskup
835cc2626f
copr-hv: install copr user only once
2021-05-04 17:46:01 +02:00