copr: idempotent alembic-3 upgrade head
This commit is contained in:
parent
49d8fe9747
commit
f2fd2eeeff
2 changed files with 9 additions and 0 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue