mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 13:32:30 +08:00
Revert "copr-backend: backup log-detective "as copr""
This reverts commit e77961d36b.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
ld_backup_user: copr
|
||||
ld_backup_user: log-detective-backups
|
||||
ld_backup_path: /var/lib/copr/public_html/log-detective-backups
|
||||
ld_backup_script: /usr/bin/log-detective-backup
|
||||
ld_dump_url: https://log-detective.com/download
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
# - name: Add the user 'log-detective-backup'
|
||||
# ansible.builtin.user:
|
||||
# name: "{{ ld_backup_user }}"
|
||||
# comment: User used for backing-up log-detective.com
|
||||
# uid: 15151
|
||||
# tags:
|
||||
# - log_detective_backup
|
||||
- name: Add the user 'log-detective-backup'
|
||||
ansible.builtin.user:
|
||||
name: "{{ ld_backup_user }}"
|
||||
comment: User used for backing-up log-detective.com
|
||||
uid: 15151
|
||||
tags:
|
||||
- log_detective_backup
|
||||
|
||||
- name: create the log-detective.com backup directory
|
||||
ansible.builtin.file:
|
||||
@@ -13,8 +13,7 @@
|
||||
state: directory
|
||||
owner: "{{ ld_backup_user }}"
|
||||
group: "{{ ld_backup_user }}"
|
||||
# public tarball -> public backups
|
||||
mode: '0755'
|
||||
mode: '0700'
|
||||
tags:
|
||||
- log_detective_backup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user