Commit Graph

16 Commits

Author SHA1 Message Date
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
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
Michal Konecny
923ca456b0 [fedora-docs/translation] Fix yamllint issues
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-21 15:50:24 +02:00
Michal Konecny
94c9a21711 [fedora-docs/translation] Migrate to RHEL 9
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-21 14:27:36 +02:00
Francois Andrieu
ac54d9ed67 disable docstranslation cron on sundries01
This script is being moved to openshift.
The ssh keypair need to be recovered from ~_update_docs_trans/.ssh/id_rsa_docs_trans
and copied over /srv/private/ansible/files/docstranslation/id_rsa_docstrans_prod on batcave01.

Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2020-12-16 13:36:37 +00:00
Pierre-Yves Chibon
51077d022e fedora-docs/translation: only run the cron job in sundries01
There is no need to run it on two hosts simultaneously.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-07-31 14:53:02 +02:00
Michael Scherer
a15f67be02 Display the generated public key for docs
Since sundries got reinstalled, there is a new ssh key, and
so we need to change the key on Pagure. Rather than bothering
someone each time that happen, it is better to just display
it so it can be added to Pagure.
2020-06-17 15:33:01 +00:00
Michael Scherer
4eee290230 Remove safety measure now that's validated
Also prevent sundries from filling up.
2020-05-18 21:14:32 +02:00
Kevin Fenzi
49e8ff002c docs-translation-update: change cron to run at 22 instead of 2. Fixes ticket 8847.
Per ticket 8847, moving this cron job to 10pm will let it run and finish before the larger
and longer cron script runs to update the docs site. This will prevent overlap and get
updates out a day sooner in some cases.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:29 +02:00
Michael Scherer
29f4b8f52e Add last deps, for pocount 2020-04-24 21:34:28 +02:00
Michael Scherer
a7acf091a1 Disable hostkey verification
Since that's run by cron, we have to accept the key.
Given that a MITM of pagure would just enable to intercept
nothing of value (we are using public keys, the data to be commited
can be regenerated trivially and would just concern translation),
disabling StrictHostKeyChecking for that user is IMHO not
a security risk.
2020-04-24 21:34:28 +02:00
Michael Scherer
85136ba279 use the right version of python 2020-04-24 21:34:28 +02:00
Michael Scherer
54949cfc13 Add missing deps 2020-04-24 21:34:28 +02:00
Michael Scherer
d6bba5daa4 Remove the key display, add ssh config 2020-04-24 21:34:28 +02:00
Michael Scherer
547f5bc938 Add a job to update translation
See https://pagure.io/fedora-infrastructure/issue/8691
2020-04-24 21:34:28 +02:00