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
da09946ffa
copr-be: document one "ignore_errors" instance
2022-03-15 16:27:27 +01:00
Miroslav Suchý
4acfcae34e
use python3-libselinux
2021-01-19 10:09:54 +01:00
Miroslav Suchý
afa5c85b2f
there is no ntpdate for el8+:x - use chrony
2021-01-19 10:06:27 +01:00
Mark O'Brien
de0c23e293
maintainer-test: remove f31 and el6 as they are EOL
2020-12-23 11:39:33 +00:00
Mark O'Brien
ac39a1bf35
add iptables as desired package
2020-11-13 16:29:48 +00:00
Kevin Fenzi
fc0a3f5d2c
tasks / cloud_setup_basic: drop duplicate when: clause
2020-08-07 11:51:48 -07:00
Mark O'Brien
d95a26b3e7
[maintainer-test] lets try update without creating the file
2020-07-24 11:21:44 +01:00
Kevin Fenzi
b426783aa5
tasks: also re-add cloud_setup_basic
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-05-13 14:10:29 -07:00
Kevin Fenzi
c529380547
Spring cleaning time. :)
...
I removed all the old files, inventory, playbooks, roles and other from
services we no longer run or use. There was a bunch of cruft in there
and I hope that will make the repo cleaner and easier to look for things
we actually do run and care about.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-05-13 14:02:41 -07:00
Pavel Raiskup
f84a1ea988
cloud_setup_basic: unmask tmp.mount
...
Since we enable logrotate automatically on all infrastructure VMs (if
Fedora), it requires tmp.mount unmasked nowadays.
2020-04-24 21:34:24 +02:00
Miroslav Suchý
c96b973b60
remove deprecation warning
...
addressing:
TASK [Install desired extra packages (dnf)] *********************************************************************************************
Friday 14 February 2020 14:03:04 +0000 (0:00:00.062) 0:00:12.297 *******
[DEPRECATION WARNING]: Invoking "dnf" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `pkg: "{{ item }}"`, please use `pkg: ['ntpdate', 'libselinux-python']` and remove the loop. This feature
will be removed in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
2020-04-24 21:34:23 +02:00
Kevin Fenzi
31e67c36f2
cloud_setup_basic: Don't install libselinux-python here either.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:13 +02:00
Kevin Fenzi
81fb4582e7
ansible: change when conditions to use == instead of is when checking strings.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:10 +02:00
Karsten Hopp
c9ed62ac32
update ansible_distribution_major_version conditionals
...
Signed-off-by: Karsten Hopp <karsten@redhat.com >
2020-04-24 21:34:10 +02:00
Kevin Fenzi
9ab087bf8f
cloud-setup-basic: drop some unneeded things.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:09 +02:00
Kevin Fenzi
073a4aba74
more ntp weed eating
2018-09-26 23:07:49 +00:00
Patrick Uiterwijk
73f695ab72
Move the rest of yum: to package: as well
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2017-10-09 00:38:26 +02:00
Patrick Uiterwijk
b87bd5f205
Include from cloud_setup_basic
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-08-16 17:46:18 +00:00
Kevin Fenzi
8a6e51a9a6
change state=running to start=started as the old one is going away in ansible 2.7
2017-04-13 01:37:21 +00:00
doteast
18db24b23e
review: loop with bare variable name
2017-01-31 17:56:14 +00:00
Kevin Fenzi
04a52b8667
Death to all trailing whitespace.
2016-08-08 19:36:31 +00:00
Kevin Fenzi
2d61e0754d
Fix up some more non idempotent things.
2016-06-25 18:09:34 +00:00
Kevin Fenzi
3b73ad90ff
Also need to remove the old task
2016-06-25 17:55:24 +00:00
Kevin Fenzi
df31d57750
Rework this area so we don't get chrony check failures all the time
2016-06-25 17:52:30 +00:00
Patrick Uiterwijk
4b0c451899
This play breaks older playbooks and needs to check whether chronyd is installed
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2016-06-09 19:11:26 +00:00
Ricky Elrod
d6b0a3611d
disable chronyd on el7 so ntpd can enable
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org >
2016-06-04 07:38:11 +00:00
Kevin Fenzi
4cafc2bd37
Fix all tasks to not use old action: statements.
2016-01-06 21:25:10 +00:00
Kevin Fenzi
031ef4de69
ignore errors here for the case of instances with selinux disabled.
2015-11-27 00:05:36 +00:00
Kevin Fenzi
b1c92166b5
Just drop this for now until we can figure out a good way to do it.
2015-11-16 19:55:24 +00:00
Kevin Fenzi
34eaee73e4
Move this over to setup where we have facts.
2015-11-16 19:52:33 +00:00
Kevin Fenzi
2cf056f01b
Tag all the various ntp tasks so we can run over all of them at once.
2015-09-07 15:53:13 +00:00
Kevin Fenzi
1a85b731c4
Tag ssh keys play in cloud setup.
...
This allows us to run this over all the cloud nodes when a key changes.
2015-07-13 13:36:06 +00:00
Kevin Fenzi
275f4b5203
Change all instances of ansible_distribution_major_version to filter to int for comparisons.
2015-05-27 22:27:39 +00:00
Kevin Fenzi
76a3f8ad74
Try this.
2015-05-27 22:09:03 +00:00
Kevin Fenzi
a9a3db1d3b
Fix this conditional to work right when ostree isn't defined.
2015-05-27 21:15:06 +00:00
Miroslav Suchý
b78d1f277e
change the condition so it works even when the variable is not defined
2015-05-14 16:08:56 +02:00
Miroslav Suchý
f303f64dfe
try this
2015-05-14 16:05:56 +02:00
Kevin Fenzi
109598f2d5
Missed a few cases for atomic
2015-05-13 23:41:35 +00:00
Kevin Fenzi
b42db39955
See if we can handle the yum, dnf and ostree cases right.
2015-05-13 23:39:35 +00:00
Kevin Fenzi
fe59adfd6b
Re-work the cloud_setup_basic.
2015-05-13 23:34:00 +00:00
Kevin Fenzi
be0245c2e8
How about this?
2015-03-17 21:23:00 +00:00
Kevin Fenzi
6108972f51
Try playing with the syntax here a bit.
2015-03-17 21:07:26 +00:00
Praveen Kumar
4b1e5162d7
Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html
2014-11-05 15:32:11 +00:00