library/roles/ubuntu-deb-general/tasks/packages.yml: use a specific tag to identify the task that installs the common packages
library/roles/d4s_user_services_perms/tasks/main.yml: Fix the acl tasks
This commit is contained in:
parent
550d02fc48
commit
29aab30b45
|
@ -17,17 +17,21 @@
|
|||
- [ 'README' ]
|
||||
tags: [ 'tomcat', 'd4science', 'd4s_readme' ]
|
||||
|
||||
# - name: Set the read/write permissions on the tomcat default options files
|
||||
# acl: name={{ item.1 }} entity={{ item.0.user }} etype=user permissions=rw state=present
|
||||
# with_nested:
|
||||
# - '{{ tomcat_m_instances }}'
|
||||
# - '{{ d4science_tomcat_options_files }}'
|
||||
# tags: [ 'tomcat', 'd4science', 'acl' ]
|
||||
|
||||
- name: Set the read/write permissions on the tomcat default options files
|
||||
acl: name={{ item.1 }} entity={{ item.0.user }} etype=user permissions=rw state=present
|
||||
with_nested:
|
||||
- '{{ tomcat_m_instances }}'
|
||||
- '{{ d4science_tomcat_options_files }}'
|
||||
acl: name=/etc/default/tomcat-instance-{{ item.http_port }} entity={{ item.user }} etype=user permissions=rw state=present
|
||||
with_items: tomcat_m_instances
|
||||
tags: [ 'tomcat', 'd4science', 'acl' ]
|
||||
|
||||
- name: Set the default read/write permissions on the tomcat default options files
|
||||
acl: name={{ item.1 }} entity={{ item.0.user }} etype=user permissions=rw state=present default=yes
|
||||
with_nested:
|
||||
- '{{ tomcat_m_instances }}'
|
||||
- '{{ d4science_tomcat_options_files }}'
|
||||
- name: Set the read/write permissions on the tomcat default local options files
|
||||
acl: name=/etc/default/tomcat-instance-{{ item.http_port }}.local entity={{ item.user }} etype=user permissions=rw state=present
|
||||
with_items: tomcat_m_instances
|
||||
tags: [ 'tomcat', 'd4science', 'acl' ]
|
||||
|
||||
|
||||
|
|
|
@ -76,8 +76,7 @@
|
|||
apt: pkg={{ item }} state=installed
|
||||
when: has_apt
|
||||
with_items: common_packages
|
||||
tags:
|
||||
- packages
|
||||
tags: [ 'packages', 'common_pkgs' ]
|
||||
|
||||
- name: Install the ntp server
|
||||
apt: pkg=ntp state=installed
|
||||
|
|
Loading…
Reference in New Issue