mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
copr: idempotent alembic-3 upgrade head
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
49d8fe9747
commit
f2fd2eeeff
@@ -88,6 +88,8 @@
|
||||
become_user: copr-fe
|
||||
args:
|
||||
chdir: /usr/share/copr/coprs_frontend/
|
||||
register: alembic_result
|
||||
changed_when: alembic_result.stdout is search("Running upgrade")
|
||||
|
||||
# TODO: move production to lets-encrypt as well
|
||||
- name: install ssl certificates for production
|
||||
|
||||
7
roles/copr/frontend/files/fedora/copr-gdpr-sar.sh
Executable file
7
roles/copr/frontend/files/fedora/copr-gdpr-sar.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Purpose of this script is to be remotely executed from batcave01
|
||||
# to collect user SAR data
|
||||
# Read more: http://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/gdpr_sar.html
|
||||
# Playbook: https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/playbooks/manual/gdpr/sar.yml
|
||||
# Usage: SAR_USERNAME=someusername /home/fedora/copr-gdpr-sar.sh
|
||||
copr-frontend dump_user $SAR_USERNAME
|
||||
Reference in New Issue
Block a user