Use package instead of apt, move away from TU gds

This commit is contained in:
Daniel A. Maierhofer
2018-03-16 18:07:05 +01:00
parent 013e945d2d
commit 7324e59ece
8 changed files with 17 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
---
- name: snapper - install snapper
apt: name=snapper
package: name=snapper
- name: snapper - create-config
command: snapper create-config /
@@ -16,4 +16,5 @@
lineinfile:
dest: /etc/fstab
line: "{{ snapper_blkid.stdout_lines[0] }} /.snapshots btrfs subvol=.snapshots 0 1"
when: snapper_blkid.stdout_lines is defined
notify: snapper - reload fstab