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
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
Aurélien Bompard
a4ac9af648
Fix missing prefix in openshift/object
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2024-12-03 10:48:46 +01:00
Ryan Lerch
776866cba3
[ansible-lint] prefix variable names for openshift/object role
...
ansible-lint requires that variables for roles are prefixed with the
name of the role. This commit prefixes the variables for the
openshift/object role with object_ as required by ansible-lint
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2024-12-03 10:48:45 +01: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
Aurélien Bompard
be05575049
Add a playbook to run move-to-archive
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2024-07-30 11:01:27 +02:00
Kevin Fenzi
9e2b0cda9d
openshift: validate when applying objects
...
Right now if there's a yml thats indented incorrectly, but parts of it
are fine, oc apply will apply those parts that are valid and just ignore
the rest. So, lets add a --validate=strict to have it reject these
entirely, so we know they have something wrong in them and we can fix
it, rather than being confused that they didn't apply anything.
Signed-off-by: Kevin Fenzi kevin@scrye.com
2023-11-08 14:11:02 -08:00
Aurélien Bompard
593d7fe7f0
Add support for installing OS app that don't match with the ansible app
...
And use it for the CentOS instance of Noggin.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-11-30 14:06:11 +01:00
Patrick Uiterwijk
633c64b7d2
Only oc apply if the file changed
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-04-19 17:35:26 +02:00
Patrick Uiterwijk
ff117118a5
Use consistent, permanent filenames
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-04-17 01:02:21 +00:00
Patrick Uiterwijk
36b7948be8
Rather than run_once, use first os-master entry
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-04-17 02:38:31 +02:00
Patrick Uiterwijk
51f9ed1a9c
Turns out that that did not work
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-04-13 13:25:40 +00:00
Patrick Uiterwijk
daceb4ea24
Double <> tripple
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-04-13 13:16:34 +00:00
Patrick Uiterwijk
300ec051a3
Try double quotes
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-04-13 13:16:09 +00:00
Patrick Uiterwijk
bf33f4c83f
Default to no values
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-04-13 13:14:43 +00:00
Pierre-Yves Chibon
3d057ffcd6
Finish reverting filename -> file as it was
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-04-12 23:42:14 +02:00
Pierre-Yves Chibon
9aa7b62166
Revert the change to openshift/object to use file as originally
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-04-12 23:40:49 +02:00
Patrick Uiterwijk
565b18e27e
Rename file to filename
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-04-11 21:10:07 +00:00
Patrick Uiterwijk
cba7d519d4
Silly me, ClusterRoles are separate objects
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-10-08 20:45:48 +00:00
Patrick Uiterwijk
0d614913d1
Turns out 'global' is not a valid variable name
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-10-08 20:43:45 +00:00
Patrick Uiterwijk
e0f9332d86
Turns out that namespace-local roles are broken pre openshift 3.6
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-10-08 20:42:44 +00:00
Ricky Elrod
30021e1935
Add missing RoleBindings for waiverdb project, and abstract project out to openshift/project
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org >
2017-08-01 03:54:10 +00:00
Ricky Elrod
11f06b960f
and add a dot
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org >
2017-07-25 19:55:30 +00:00
Ricky Elrod
fe6ab4dbc4
Except that's not how ansible works
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org >
2017-07-25 19:54:33 +00:00
Ricky Elrod
afab85e9f1
make it delete the temp files
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org >
2017-07-25 19:53:49 +00:00
Ricky Elrod
5bec95f3fa
include file/template name in status line
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org >
2017-07-25 18:09:39 +00:00
Ricky Elrod
c7f1962ad2
try roles_path
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org >
2017-07-25 17:54:54 +00:00
Ricky Elrod
eb7a002027
First attempt at ansiblization of openshift/modernpaste
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org >
2017-07-25 17:52:06 +00:00