Manage mounts in base role

This commit is contained in:
Kris Lamoureux 2020-09-01 12:56:27 -04:00
parent 88cca40522
commit 3e527311b2
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -8,3 +8,12 @@
src: authorized_keys.j2
dest: /root/.ssh/authorized_keys
when: authorized_keys is defined
- name: Manage filesystem mounts
mount:
path: "{{ item.path }}"
src: "UUID={{ item.uuid }}"
fstype: "{{ item.fstype }}"
state: mounted
loop: "{{ mounts }}"
when: mounts is defined