systemd_cifs_mount

ansible systemd-cifs-mounts

Build Status

Setup mounts as sysemd Service.

This Playbook creates a Systemd Service for mounting CIFS Shares.

So you can use mounts as system Servie.

Works for debian stretch, and Jessie if you use systemd.

It mounts several Folders from one Server.

for Example:

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

Options:

cifs_mount_share: //apps.local/apps$         # Server to mount From
cifs_mount_path: /opt/app                    # Folder to mount in
cifs_mount_options: uid=1000                 # Options, username...

Example Playbook

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

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

Install
ansible-galaxy install ypsman/ansible-systemd-cifs-mount
GitHub repository
License
Unknown
Downloads
491
Owner