ansible-roles/user_services_perms/defaults/main.yml

25 lines
895 B
YAML

---
service_custom_installation: False
service_user: sys_admin
service_group: '{{ sys_user }}'
service_sudoers_group: adminsu
service_data_directory: /var/lib/foo
#service_other_directories:
# - /var/lib/bar
service_log_directories:
- /var/log/foo
- /var/log/foo/search
# Define the following if you want some directories readable and writable by the common group but outside the default app data dirs
#additional_data_directories:
# - { name: '/data/1', perms: 0755, create: True, owner: 'root', group: '{{ sys_group }}', aclperms: 'rwX' }
# - { name: '/data/2', create: False, perms: 0755, owner: 'root', group: '{{ sys_group }}', aclperms: 'rwX' }
# - { name: '/data/bah', create: False, perms: 0644, aclperms: 'rw' }
# Define the following array when you want to add commands to the sudoers file
#service_sudo_commands:
# - /etc/init.d/virtuoso-opensource-7
# - /sbin/reboot