ypsman.systemd_cifs_mount

ansible systemd-cifs-mounts

Estado de la construcción

Configura montajes como un Servicio de systemd.

Este Playbook crea un Servicio de Systemd para montar Comparticiones CIFS.

Así puedes usar montajes como un Servicio del sistema.

Funciona para Debian Stretch y Jessie si utilizas systemd.

Monta varias carpetas de un servidor.

Por ejemplo:

systemctl status mount-point.mount
systemctl start mount-point.mount
systemctl stop mount-point.mount

systemctl status mount-point.automount
systemctl start mount-point.automount
systemctl stop mount-point.automount

Opciones:

cifs_mount_share: //apps.local/apps$         # Servidor del que se monta
cifs_mount_path: /opt/app                    # Carpeta donde se monta
cifs_mount_options: uid=1000                 # Opciones, nombre de usuario...

Ejemplo de Playbook

- hosts: all
  roles:
    - role: systemd-cifs-mounts
        cifs_mounts:
          - folder1
          - folder2
Acerca del proyecto

Setup several cifs mounts and automount as Systemd service from one Server

Instalar
ansible-galaxy install ypsman.systemd_cifs_mount
Licencia
Unknown
Descargas
503
Propietario