Put zfs to common

This commit is contained in:
Daniel A. Maierhofer
2018-07-13 16:46:46 +02:00
parent 9a35b54833
commit d2423a60b1
9 changed files with 20 additions and 309 deletions

View File

@@ -1,13 +1,4 @@
---
- name: zfs - start services
service: "name={{ item }} state=restarted"
with_items:
- zfs-import-cache
- zfs-import-scan
- zfs-mount
- zfs-share
listen: zfs restart
- name: lxc - create authorized_keys file in VM for root
listen: lxc - inital ssh authorized_keys
copy: remote_src=yes src=/root/.ssh/authorized_keys dest="/var/lib/lxc/lxc-{{ item.name }}-{{ item.revision }}/rootfs/root/.ssh/authorized_keys" owner=root group=root mode=0600