From 100ab568e3aeb512e86fd1155a73454d22e24895 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 10 Aug 2020 12:15:49 -0300 Subject: Migration: Remove Ansible and Docker code, move only to NixOS --- shutdown.yaml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 shutdown.yaml (limited to 'shutdown.yaml') diff --git a/shutdown.yaml b/shutdown.yaml deleted file mode 100644 index a190d1a..0000000 --- a/shutdown.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- hosts: all - any_errors_fatal: true - tasks: - - name: Copy files for performing the backup - copy: src={{ item.src }} dest={{ item.dest }} mode={{ item.mode }} - with_items: - - { src: './generated/create-backup.sh', dest: '/home/vps/create-backup.sh', mode: '500' } - - { src: './secrets/borg/borg-remote.pub', dest: '/root/.ssh/id_rsa.pub', mode: '400' } - - { src: './secrets/borg/borg-remote', dest: '/root/.ssh/id_rsa', mode: '400' } - - { src: './secrets/borg/known-hosts.txt', dest: '/root/.ssh/known_hosts', mode: '400' } - - name: Stop docker-compose - docker_compose: - project_src: /home/vps/ - state: absent - - name: Create a borg backup of the volume - shell: /home/vps/create-backup.sh -- cgit v1.3