klems.partition-and-mount-disks

klems.partition-and-mount-disks

Statut de construction

Un rôle pour partitionner et monter une liste de disques durs avec détection automatique des UUID.

Exigences

Ansible == 2.4

Variables du rôle

{{ additional_disks }}

Une liste de dictionnaires qui doit contenir les entrées suivantes :

additional_disks:
  - disk: /dev/sda
    number: 1
    state: present
    part_start: "0%"
    part_end: "100%"
    fstype: ext4
    mount_path: "/mnt/storagebox-01"
    mount_state: mounted
    mount_opts: noatime
  - disk: /dev/sdb
    number: 1
    state: present
    part_start: "0%"
    part_end: "100%"
    fstype: ext4
    mount_path: "/mnt/storagebox-02"
    mount_state: mounted
    mount_opts: noatime

Dépendances

N/A

Exemple de Playbook

- hosts: serveurs
  roles:
     - { role: klems.partition-and-mount-disks }

Licence

BSD

Informations sur l'auteur

mail: klems@klems.net

À propos du projet

A role to partition and mount a list of hard drives disks with automatic UUID detection.

Installer
ansible-galaxy install klems.partition-and-mount-disks
Licence
Unknown
Téléchargements
2.8k
Propriétaire