install.fairie/home/dot_local/share/ansible/tasks/qubes/vm-template-all.yml

19 lines
510 B
YAML
Raw Normal View History

2023-07-15 22:40:26 -07:00
---
- name: Ensure directory for custom Ansible facts exists
become: true
ansible.builtin.file:
state: directory
recurse: yes
path: /rw/config/qubes-bind-dirs.d
when: persistent_docker_volumes | default(false)
- name: Ensure Docker files are persistent
copy:
content: |
binds+=( '/var/lib/docker' )
binds+=( '/etc/docker' )
dest: /rw/config/qubes-bind-dirs.d/50-docker.conf
when: persistent_docker_volumes | default(false)
- include_tasks: tasks/qubes/vm-common.yml