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
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
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
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
f5adb3bf01
copr-pulp: swap fix - no btrfs on EL9
2024-03-13 20:18:20 +01:00
Pavel Raiskup
6dc43e2d23
copr: disable zram0 swap
...
We maintain swap partitions ourselves, and zram0 complicates our lives
for multi-swap use-cases:
https://bugzilla.redhat.com/show_bug.cgi?id=2051154
2022-11-29 16:04:07 +01:00
Jakub Kadlcik
875ea1548d
swap: temporarily comment 'Start swap.swap service' task
2022-11-18 18:45:04 +01:00
Jakub Kadlcik
259b3878c1
swap: fix file creation to be idempotent, pt2
2022-01-23 23:15:49 +01:00
Jakub Kadlcik
358b3c5130
swap: fix file creation to be idempotent
2022-01-23 22:58:00 +01:00
Jakub Kadlcik
68139c0ff2
swap: automatically start swap.swap service, pt2
2022-01-23 22:20:30 +01:00
Jakub Kadlcik
c9d8a50050
swap: automatically restart swap.swap service
2022-01-23 22:01:14 +01:00
Jakub Kadlcik
8de6ab833f
swap: create swapfile only once
2022-01-23 21:45:30 +01:00
Jakub Kadlcik
8495c555cc
swap: oops, fix typo
2022-01-23 21:32:41 +01:00
Jakub Kadlcik
415731c1ac
swap: try to make swapfile working on btrfs
...
Since F35, the swap service started failing with:
kernel: BTRFS warning (device nvme0n1p5): swapfile must not be copy-on-write
swapon[2976986]: swapon: /swap: swapon failed: Invalid argument
swap.swap: Swap process exited, code=exited, status=255/EXCEPTION
2022-01-23 21:28:16 +01:00
Pavel Raiskup
2a4698ee3a
swap: make it idempotent
...
Call 'swapon -a' only when we just added the swap /etc/fstab entry.
2020-04-24 21:34:26 +02:00
Miroslav Suchý
03d18ee2f6
do not error on second run
2020-04-24 21:34:25 +02:00
Miroslav Suchý
a103611658
this can be improved later
2020-04-24 21:34:25 +02:00
Miroslav Suchý
1c2cfed97a
Revert "try this"
...
This reverts commit 68ff759fc4ec7bab9d305635bb37efba04efbbec.
2020-04-24 21:34:25 +02:00
Miroslav Suchý
f4049fd824
try this
2020-04-24 21:34:25 +02:00
Miroslav Suchý
f989ed90a0
try this
2020-04-24 21:34:25 +02:00
Miroslav Suchý
992b889d02
try this
2020-04-24 21:34:25 +02:00
Miroslav Suchý
02dd348fe1
do not report check as changed
2020-04-24 21:34:25 +02:00
Miroslav Suchý
19be5b46cb
add task to create swap
...
This is mostly useful in AWS where swap does not exist and must be created manualy.
2020-04-24 21:34:25 +02:00