Ansible role to manage:
-
defaults
disk_partitions: [] # list of disk partitions to manage disk_vgs: [] # list of LVM volume groups to manage pvs: [] # list of PVS for VG disk_lvols: [] # list of LVM volumes to manage disk_filesystems: [] # list of LVM volumes to manage opts: [] # list of options passed to mkfs disk_mounts: [] # list of mounts to manage opts: [] # list of options passed to mount owner: # moutpoint path owner group: # moutpoint path group mode: # moutpoint path mode, # use 0o755 or '0755' notation UUID: bool # use UUID instead of /dev for mounting
There are no dependencies.
-
requirements.yml
- name: disk src: https://github.com/mario-slowinski/disk
-
playbook usage
- hosts: servers gather_facts: false roles: - role: disk tasks_from: mount.yml # manage only mounts, same effect if only disk_mounts is defined