-
Chris Hines authored
separate making of files systes from exporting so we can reuse make_filesystesm to attach volumes for databases
Chris Hines authoredseparate making of files systes from exporting so we can reuse make_filesystesm to attach volumes for databases
main.yml 398 B
---
- name: Format File Systems
filesystem: fstype={{ item.fstype }} dev={{ item.dev }} opts={{ item.opts }}
with_items: mkFileSystems
sudo: true
when: mkFileSystems is defined
- name: Mount device
mount: name={{ item.name }} src={{ item.dev }} fstype={{ item.fstype }} opts={{ item.opts }} state=mounted
with_items: mountFileSystems
sudo: true
when: mountFileSystems is defined