@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
14 lines (12 loc) • 338 B
YAML
- name: Add labels to hard drives # noqa 301
become: true
command: "e2label {{ item.path }} {{ item.label }}"
loop: "{{ disk_configs }}"
- name: Ensure /etc/fstab has proper entries
become: true
lineinfile:
dest: /etc/fstab
regexp: "LABEL={{ item.label }}"
line: "{{ item.fstab }}"
loop: "{{ disk_configs }}"