Dmitriy Rabotyagov be093f9f58 Auto-fix yaml rules
In order to reduce divergance with ansible-lint rules, we apply
auto-fixing of violations.

In current patch we replace all kind of truthy variables with
`true` or `false` values to align with recommendations along with
alignment of used quotes.

Change-Id: Ia76cbf1f2913dc4e03e19200f53d51f027769306
2025-02-13 09:04:48 +01:00

28 lines
742 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