11187fe5ef
Change-Id: If13ccbbe0b8bd2dffcdcd6e9bb3a810e5dd9d550
27 lines
738 B
YAML
27 lines
738 B
YAML
- name: Create a systemd mount file for Mount1 and 2
|
|
hosts: localhost
|
|
become: true
|
|
roles:
|
|
- role: "systemd_mount"
|
|
vars:
|
|
systemd_mounts:
|
|
machines:
|
|
what: '/var/lib/machines.raw'
|
|
where: '/var/lib/machines'
|
|
type: 'btrfs'
|
|
options: 'loop'
|
|
unit:
|
|
ConditionPathExists:
|
|
- '/var/lib/machines.raw'
|
|
state: 'started'
|
|
enabled: true
|
|
glance_images:
|
|
config_overrides: {}
|
|
What: "10.1.10.1:/srv/nfs"
|
|
Where: "/var/lib/glance/images"
|
|
type: "nfs"
|
|
options: "_netdev,auto"
|
|
unit:
|
|
After:
|
|
- network.target
|