Skip to content

jaepetto/ansible_mount_cifs_volume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mount CIFS volume

This roles mounts a CIFS volume on a Linux system.

Role Variables

Name Default value Description Example
cifs_volume None The CIFS volume to mount. //cdh1arch.epfl.ch/project_replica
mount_point mnt/cifs The mount point. /mnt/project_replica
creds_uuid Generated UUID id of the file containg the credentials used cifs_creds
fstab_options defaults The options to use in the fstab entry. defaults,vers=3.0,credentials=/etc/cifs_creds
username username The username to use for the mount. {{ lookup('ansible.builtin.env', 'USER') }}
password password The password to use for the mount. {{ lookup('ansible.builtin.env', 'PASSWORD') }}
domain domain The domain to use for the mount. domain

Example Playbook

    - hosts: servers
      roles:
         - role: ansible_mount_cifs_volume
           vars:
            cifs_volume: "//server/share"
            ...

License

GNU GENERAL PUBLIC LICENSE Version 3

Author Information

Emmanuel Jaep: :octocat: jaepetto

About

Mounts a cifs volume onto an Ubuntu server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages