6 lines
320 B
YAML
6 lines
320 B
YAML
---
|
|
- 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
|
|
with_items: "{{ lxc.containers }}"
|