Revert "copr-backend: backup log-detective "as copr""
This reverts commit e77961d36b
.
This commit is contained in:
parent
99cf9c5b3c
commit
f5c12dc90b
2 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue