Kevin Fenzi
1ab76f84c8
fedora-web: move sync script to /usr/local/bin
...
In f42+, there's no longer a /usr/local/sbin, everything should be in
/usr/local/bin. Move this last script there.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2025-05-29 11:16:17 -07:00
Francois Andrieu
d30cfdd2cf
websites: disable fedoraproject sync on-demand
2025-04-24 22:19:30 +00:00
Francois Andrieu
5555679100
fedora-web: fix include_vars option
2025-03-12 11:21:43 +01:00
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
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
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
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
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
Francois Andrieu
7c7c6d1dca
websites: remove unused languages.conf
2023-05-04 19:47:59 +00:00
Francois Andrieu
493b771248
websites: add well-known for Flathub verification
...
Related: https://pagure.io/fedora-infrastructure/issue/11217
2023-04-18 02:53:11 +00:00
Francois Andrieu
be32dcebb4
websites: new main website deployment on prod
2023-03-31 16:58:12 +00:00
Francois Andrieu
495670585f
websites: fix permissions
2022-12-09 02:11:22 +01:00
Francois Andrieu
7480cd6cc6
websites: fix variable name
2022-12-09 02:04:26 +01:00
Francois Andrieu
5b5edd11eb
websites: new main website deployment on stg
2022-12-09 00:14:44 +00:00
Kevin Fenzi
19b66e404b
Add matrix well-known files
...
Matrix can use some well-known uri's for configuration (rfc 8615).
This commit:
* Sets up fedora.im as a seperate side on proxies that redirects to
getfedora.org and serves a server and client static matrix file.
* gets fedora.im it's own ssl cert via letsencrypt so it's all valid
(currently it points to proxies generically and gets the
fedoraproject.org cert)
* Adds config to serve matrix client/server well-known static files for
fedoraproject.org site.
Note that all the acutal contents of these files are empty for now, but
once our matrix server is up we can fill them in properly and re-run the
playbook. :)
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2021-08-30 21:53:56 +00:00
Mark O'Brien
9898f1c64a
[fedora-web] quote value to avoid evaluation
2020-08-25 15:23:30 +01:00
Rick Elrod
f37d382e8e
create /srv/web here
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2018-12-17 19:31:31 +00:00
Rick Elrod
30998a88af
then maybe we need both
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2018-12-17 19:16:21 +00:00
Rick Elrod
daeaae624a
make the dir here instead
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2018-12-17 18:46:44 +00:00
Rick Elrod
efa1a3d47d
try creating directory here
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2018-12-17 18:33:57 +00:00
Kevin Fenzi
5c7d49e22e
move to a file because content cannot handle a : in the content
2017-10-04 20:57:43 +00:00
Kevin Fenzi
d161ffd9e4
add google site validation for mattdm - https://pagure.io/fedora-websites/issue/729
2017-10-04 20:52:48 +00:00
Kevin Fenzi
d4ddecbc62
ok, more proxy roles that restart httpd
2016-12-01 22:00:23 +00:00
Kevin Fenzi
1c6e9a11f4
Another pile of trailing whitespace fixes
2016-08-08 19:42:36 +00:00
Patrick Uiterwijk
b08ccc52ef
Add emergency tag
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2015-12-15 23:09:06 +00:00
Patrick Uiterwijk
a3f1177b5b
Make hotspot.txt a specially deployed file
...
This should make it more resilient to changes to the website
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2015-12-15 23:05:02 +00:00
Patrick Uiterwijk
08568865fe
Replace all restart httpd with reload httpd
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2015-11-04 23:40:01 +00:00
Kevin Fenzi
221419512a
Switch some of these to just reload httpd instead of a full restart
2015-11-03 16:02:33 +00:00
Ralph Bean
157f22c05b
Add the sync-fedora-web cronjob.
2014-12-12 17:23:44 +00:00
Ralph Bean
de0d536b07
Typofix.
2014-12-12 16:48:12 +00:00
Ralph Bean
b98f37f7e8
Starting a fedora-web/main role.
2014-12-12 15:04:28 +00:00