Aurélien Bompard
b402aedb72
Remove some references to iad2 in bodhi-backend's playbook
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-06-27 15:33:33 +02:00
Aurélien Bompard
165c56fbf8
Move the bodhi sweeper configuration to the bodhi role
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-06-25 15:11:27 +02:00
Kevin Fenzi
6c38d7b61a
various: fix some more shell variables that were accidentally converted to builtin.shell
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2025-01-15 17:26:50 -08: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
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
Aurélien Bompard
79949846e2
Define the bodhi variables in a single place
...
This removes the different definitions of `sent_topics` for Bodhi, which
were causing issue https://pagure.io/releng/issue/11827
It also brings the bodhi options in the `os_control*` group vars into
the same vars file.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2023-12-15 12:54:12 +01:00
Aurélien Bompard
666ca57725
Workaround a bug in the rabbitmq_user ansible module, this time for bodhi
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2023-05-09 13:28:23 +02:00
Aurélien Bompard
a3f9082a07
Ansible issues a warning when there's append but no groups
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2022-06-24 10:55:16 +02:00
Adam Saleh
bf7f6400f1
Telling bodhi to use python3.9 folder, 3.8 is no longer on f34.
2021-05-13 14:10:33 +02:00
Adam Saleh
738dd48f34
Task to create bodhi user complaints there is no bodhi user.
2021-05-13 12:15:04 +02:00
Kevin Fenzi
e90ccc11cf
iad2 move: more rabbitmq adjustments
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-06-08 07:49:28 -07:00
Kevin Fenzi
2f81e76657
iad2: adjust a bunch of things that were delegating directly to phx2 hosts
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-06-03 12:54:59 -07:00
Aurélien Bompard
163e9c8549
RabbitMQ: if the tags aren't specified, rabbitmq_user clears them :-/
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-04-24 21:34:23 +02:00
Aurélien Bompard
b60803ee5c
RabbitMQ: don't overwrite the admin user
...
Users are shared between virtualhosts.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-04-24 21:34:23 +02:00
Aurélien Bompard
48de31d042
RabbitMQ: leave it to apps to grant access to the nagios-monitoring user
...
Because those vhosts may not be created yet when the main RabbitMQ
playbook is run.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-04-24 21:34:22 +02:00
Aurélien Bompard
7256690036
Create the Bodhi group too
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-04-24 21:34:15 +02:00
Aurélien Bompard
2c4b95d31b
Create the bodhi user early
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-04-24 21:34:15 +02:00
Aurélien Bompard
6993fb288f
Create the Bodhi config directory early
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-04-24 21:34:15 +02:00
Aurélien Bompard
8c96f6e24b
Don't overwrite the rabbitmq admin user tags
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-04-24 21:34:12 +02:00
Aurélien Bompard
e160a30a32
Update Bodhi to 5.0 in staging
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-04-24 21:34:12 +02:00
Randy Barlow
db786b6797
bodhi: Major cruft cleanup.
...
I worked with nirik, mizdebsk, and puiterwijk to clean up Bodhi's
roles and playbooks to remove lots of old crufty things, and this
is what we came up with.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2019-05-30 21:45:21 +00:00
Randy Barlow
4cf1624c76
bodhi: Upgrade production to Bodhi 4.0.0.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2019-05-28 15:58:52 +00:00
Randy Barlow
b3a4f6fa2f
bodhi: Deploy bodhi-4.0.0b0 to staging.
...
A lot of things have changed in Bodhi 4.0.0, so I'm sure this
commit isn't quite correct (too bad we can't easily test Ansible
code before committing!)
This adjusts the playbook to switch staging to Bodhi 4.0.0, which
includes switching to fedora-messaging and a new logging config
(Bodhi can now send rate-limited error e-mails!)
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2019-05-09 21:44:44 +00:00
Randy Barlow
ab31dee7e8
Upgrade production to bodhi-3.11.0-3.fc29.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2018-11-19 14:22:02 +00:00
Randy Barlow
a19aaaed9e
Upgrade Bodhi staging to 3.11 beta and use Python 3.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2018-11-08 14:35:19 +00:00
Randy Barlow
2e2c8af6f4
We no longer have any hostnames that start with "bodhi0".
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2018-11-07 21:33:11 +00:00
Randy Barlow
22a85b8b8a
We no longer use mash or /var/log/bodhi.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2018-02-19 16:07:40 +00:00
Kevin Fenzi
f75c4dfc55
Merge bodhi production.ini and staging.ini with the shipped version from the upstream rpm.
2018-02-08 20:25:32 +00:00
Patrick Uiterwijk
c9f5123223
Remove bodhi2/base file context setting
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-12-12 20:42:53 +00:00
Randy Barlow
7e9324b189
Do not semanage /usr/share/bodhi/.fedora on stg.
...
It does not exist.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2017-11-07 19:51:41 +00:00
Patrick Uiterwijk
936e8b261a
yum accepted pkg=, package calls it name=
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2017-10-09 00:38:26 +02:00
Randy Barlow
7c2bbb13d9
Configure alembic.ini for BDR on staging.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2017-05-15 19:44:24 +00:00
Randy Barlow
91650b3178
Configure production Bodhi to host its docs.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2017-04-10 13:17:27 +00:00
Randy Barlow
b6c58a4275
Only install configure docs on staging for now.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2017-03-08 21:20:24 +00:00
Randy Barlow
2e32219183
Serve bodhi's docs at /docs.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com >
2017-03-08 21:04:40 +00:00
Kevin Fenzi
1237bab5e5
this selinux file type changed in 7.3
2016-12-01 05:08:11 +00:00
Patrick Uiterwijk
59592c7809
Fix up the selinux context for bodhis homedir
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2016-12-01 03:14:13 +00:00
Patrick Uiterwijk
7dab72e8c6
Certificates are no longer needed by bodhi
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2016-12-01 03:11:32 +00:00
Patrick Uiterwijk
2ae15056fd
Use explicit ccache file
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2016-11-27 08:46:48 +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
Patrick Uiterwijk
2baaaf412e
Deploy signed_handler for bodhi
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2016-10-21 11:47:40 +00:00
Kevin Fenzi
44e9449084
drop copr repo here on bodhi hosts
2016-09-08 18:27:05 +00:00
Luke Macken
7161fb1bfb
bodhi: Point to bowlofeggs copr repo instead of mine
2016-09-01 20:56:09 +00:00
Kevin Fenzi
ca88391df3
More bodhi2 for fedora24 changes.
...
Fix places that except bodhi-backend01 for 03
Don't use the copr we can just use a scratch build
Set fedmsg enpoints
2016-08-12 19:36:37 +00:00
Kevin Fenzi
127acb80a7
Fix bodhi-backend role and base role to use package instead of yum and install from bowlofeggs copr for fedora
2016-08-12 18:37:26 +00:00
Kevin Fenzi
1c6e9a11f4
Another pile of trailing whitespace fixes
2016-08-08 19:42:36 +00:00
Kevin Fenzi
1fd9951db0
See if we can sort out some of the bodhi base vs backend playbooks causing multiple changes.
2016-06-25 19:21:17 +00:00
Kevin Fenzi
d4f48b1244
Fix bodhi handlers to hopefully work right with bodhi-backend
2016-05-25 20:11:34 +00:00
Luke Macken
7036d1473d
bodhi: Install our production.ini on the backends too
2016-01-22 17:25:01 +00:00