ypsman.systemd_cifs_mount

ansible systemd-cifs-mounts

Status budowy

Ustaw montaż jako usługę systemd.

Ten Playbook tworzy usługę Systemd do montowania udziałów CIFS.

Dzięki temu możesz używać montażu jako usługi systemowej.

Działa na systemach Debian Stretch i Jessie, jeśli używasz systemd.

Montaż kilku folderów z jednego serwera.

Na przykład:

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

Opcje:

cifs_mount_share: //apps.local/apps$         # Serwer do montażu
cifs_mount_path: /opt/app                    # Folder do montażu
cifs_mount_options: uid=1000                 # Opcje, nazwa użytkownika...

Przykładowy Playbook

- hosts: all
  roles:
    - role: systemd-cifs-mounts
        cifs_mounts:
          - folder1
          - folder2
O projekcie

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

Zainstaluj
ansible-galaxy install ypsman.systemd_cifs_mount
Licencja
Unknown
Pobrania
503
Właściciel