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