style(borgbackup): linting
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
---
|
||||
|
||||
borg_pass: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
62333166623737363731663766353330633335306532306366356536376232396664376430613434
|
||||
|
@@ -1,3 +1,5 @@
|
||||
---
|
||||
|
||||
- name: create SSH key
|
||||
openssh_keypair:
|
||||
path: ~/.ssh/id_rsa
|
||||
|
@@ -1,3 +1,5 @@
|
||||
---
|
||||
|
||||
- name: mount backup disk
|
||||
mount:
|
||||
path: /backup
|
||||
@@ -10,10 +12,10 @@
|
||||
user:
|
||||
name: backup
|
||||
comment: Backup
|
||||
create_home: yes
|
||||
create_home: true
|
||||
home: /backup
|
||||
shell: /bin/bash
|
||||
system: yes
|
||||
system: true
|
||||
state: present
|
||||
|
||||
- name: "create directory for borg clients"
|
||||
|
@@ -1,3 +1,5 @@
|
||||
---
|
||||
|
||||
- set_fact:
|
||||
borgbackup: borg
|
||||
when: ansible_facts['distribution'] == "Archlinux"
|
||||
@@ -8,4 +10,3 @@
|
||||
package:
|
||||
name: "{{ borgbackup }}"
|
||||
state: present
|
||||
# when: ansible_facts['distribution'] == "Debian"
|
||||
|
Reference in New Issue
Block a user