Improve dns configs
This commit is contained in:
parent
428de8040a
commit
f817305718
5 changed files with 69 additions and 30 deletions
playbooks/roles/software/tasks
|
@ -5,11 +5,6 @@
|
|||
update_cache: true
|
||||
become: true
|
||||
|
||||
- name: Install docker
|
||||
ansible.builtin.import_tasks: docker.yml
|
||||
- name: Install docker rclone plugin
|
||||
ansible.builtin.import_tasks: docker-rclone-plugin.yml
|
||||
|
||||
- name: Install jq and bzip2
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
|
@ -19,26 +14,11 @@
|
|||
update_cache: true
|
||||
become: true
|
||||
|
||||
- name: Check if autorestic is installed
|
||||
ansible.builtin.stat:
|
||||
path: /usr/local/bin/autorestic
|
||||
register: autorestic_status
|
||||
|
||||
- name: Install autorestic
|
||||
ansible.builtin.shell:
|
||||
executable: /usr/bin/bash
|
||||
cmd: set -o pipefail && wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
|
||||
when: not autorestic_status.stat.exists
|
||||
changed_when: true
|
||||
become: true
|
||||
|
||||
- name: Check if restic is installed
|
||||
ansible.builtin.stat:
|
||||
path: /usr/local/bin/restic
|
||||
register: restic_status
|
||||
|
||||
- name: Install restic
|
||||
ansible.builtin.command: autorestic install
|
||||
when: not restic_status.stat.exists
|
||||
changed_when: true
|
||||
become: true
|
||||
- name: Install docker
|
||||
ansible.builtin.import_tasks: docker.yml
|
||||
- name: Install docker rclone plugin
|
||||
ansible.builtin.import_tasks: docker-rclone-plugin.yml
|
||||
- name: Install (auto-)restic
|
||||
ansible.builtin.import_tasks: restic.yml
|
||||
- name: Install systemd-resolved
|
||||
ansible.builtin.import_tasks: systemd-resolved.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue