Commit graph

14 commits

Author SHA1 Message Date
Kevin Fenzi
3c12ef6aa9 Killed trailing spaces in group/host vars with fire.
Normally it's just a nitpick to not have trailing spaces on variables.
However, for some things like mac address, it really matters.
Bunches of buildhw's were failing ansibile because they were passing
"mac address " to linux-system-roles networking and ansible was going
'huh, nope, I can't find that mac address here at all'.
So, just blow all the tailing spaces away to avoid any other variables
that hit this.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-04 08:52:52 -07:00
Adam Williamson
7a82a5a7d5 Rename ansible_ifcfg_{black,white}list to {block,allow}list
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-06-11 15:22:09 -07:00
Pavel Raiskup
5e4731b7c7 copr-be: move the builder quota to inventory
.. and cleanup the copr-be.conf.j2 template a but.  Many of the options
has not been used for quite some time.
2020-06-10 06:43:54 +02:00
Jakub Kadlcik
c63f7faa88 copr: disable services in group_vars/copr_dev 2020-04-24 21:34:24 +02:00
Miroslav Suchý
00602b9748 copr: use CloudFront in staging 2020-04-24 21:34:21 +02:00
Miroslav Suchý
fa78bc5192 copr: use CloudFront in production 2020-04-24 21:34:21 +02:00
Pavel Raiskup
5a64bb3727 copr: add aws region to configuration 2020-04-24 21:34:17 +02:00
Pavel Raiskup
6659169749 copr: dev: fix backend <--> keygen IPs 2020-04-24 21:34:06 +02:00
Pavel Raiskup
19245cecf6 copr: letsencrypt: move config from copr -> copr_front 2019-07-19 11:36:25 +02:00
Pavel Raiskup
3cc27430b6 copr: rework letsencrypt
We need two-phase configuration for Let's Encrypt:

1. initialize; the letsencrypt automation, this is happening only
   once per VM (when it is spawned)
2. periodic; using certbot-renew.timer.

Both those phases are now wrapped into copr/certbot role.

Phase 1. needs to be done before the web-server is started (so
include the role on appropriate place in the playbook), so we can
do 'certbot --standalone' (bounds to port 80).
Phase 2. is accomplished using the running web-server, using
'certbot renew --webroot'.

If (and only if) the certificate is renewed, web server needs to
be restarted (and lighttpd needs to have post-processed
certificate format).  So we also need the deploy hook script in
hand (two actually, lighttpd/httpd) so 'certbot renew'
automatically does what we expect it to do.
2019-07-19 11:20:00 +02:00
Pavel Raiskup
8ecfe20ae3 copr: production: keygen <-> backend IP connection 2019-07-18 10:57:34 +02:00
Pavel Raiskup
5898eebc72 copr: keygen: fix backend's IP's 2019-07-11 22:00:38 +02:00
Jakub Kadlcik
b7dedb5238 Upgrade copr-keygen-dev IP after upgrade to F30 2019-07-11 19:44:12 +02:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Renamed from inventory/group_vars/copr-dev (Browse further)