Adds a list of users, setup the sudo permissions, optionally setups ACLs for those users in a list of files and directories.
Go to file
Andrea Dell'Amico 628adddb78
Allow the use of a specific group in the acls tasks.
2024-04-22 16:01:51 +02:00
defaults directories and ACLs. 2020-05-28 16:46:43 +02:00
handlers Initial commit 2020-05-28 15:38:53 +02:00
meta directories and ACLs. 2020-05-28 16:46:43 +02:00
tasks Allow the use of a specific group in the acls tasks. 2024-04-22 16:01:51 +02:00
templates directories and ACLs. 2020-05-28 16:46:43 +02:00
tests Initial commit 2020-05-28 15:38:53 +02:00
vars Initial commit 2020-05-28 15:38:53 +02:00
.gitignore Initial commit 2020-05-28 15:38:53 +02:00
LICENSE Initial commit 2020-05-28 15:38:53 +02:00
README.md directories and ACLs. 2020-05-28 16:46:43 +02:00

README.md

Role Name

A role that creates users.

Role Variables

The list of directories and files with their ACLs. The list of commands that the users can run using sudo.

additional_data_directories: []
  - { name: '/data/1', perms: 0755, create: True, owner: 'root', group: '{{ common_users_group }}', aclperms: 'rwX' }
  - { name: '/data/2', create: False, perms: 0755, owner: 'root', group: '{{ common_users_group }}', aclperms: 'rwX' }
  - { name: '/data/bah', create: False, perms: 0644, aclperms: 'rw' }

service_sudo_commands:
  - /etc/init.d/virtuoso-opensource-7
  - /sbin/reboot

Dependencies

None

License

EUPL-1.2

Author Information

Andrea DellAmico, andrea.dellamico@isti.cnr.it