We no longer need, use or want the drbackup key
This commit is contained in:
parent
2971ec15ff
commit
e6eb5eae06
2 changed files with 0 additions and 22 deletions
|
@ -34,7 +34,6 @@
|
|||
tasks:
|
||||
- include: "{{ tasks }}/yumrepos.yml"
|
||||
- include: "{{ tasks }}/motd.yml"
|
||||
- include: "{{ tasks }}/drbackupkey.yml"
|
||||
- include: "{{ tasks }}/2fa_client.yml"
|
||||
|
||||
handlers:
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
- name: ensure the drbackup group exists
|
||||
group: name=drbackup state=present
|
||||
|
||||
# Do not move the homedir outside of /home, since either this or uid < 1000 is required
|
||||
- name: ensure the drbackup user exists
|
||||
user: name=drbackup comment="DR Backup User" group=drbackup shell=/bin/bash home=/home/drbackup
|
||||
|
||||
- name: Make sure the drbackup homedir exists
|
||||
file: dest=/home/drbackup/ state=directory owner=drbackup group=drbackup mode=0700
|
||||
|
||||
- name: install the authorized SSH key
|
||||
file: dest=/home/drbackup/.ssh/ state=directory owner=drbackup group=drbackup mode=0700
|
||||
|
||||
- name: install the backup ssh keys
|
||||
copy: src={{private}}/files/backup.pub dest=/home/drbackup/.ssh/authorized_keys owner=drbackup group=drbackup mode=0600
|
||||
|
||||
#
|
||||
# deploy the confine-ssh script
|
||||
#
|
||||
- include: "{{tasks}}/confine_ssh.yml"
|
Loading…
Add table
Add a link
Reference in a new issue