forked from ISTI-ansible-roles/ansible-roles
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' ]
|
- [ 'README' ]
|
||||||
tags: [ 'tomcat', 'd4science', 'd4s_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
|
- 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
|
acl: name=/etc/default/tomcat-instance-{{ item.http_port }} entity={{ item.user }} etype=user permissions=rw state=present
|
||||||
with_nested:
|
with_items: tomcat_m_instances
|
||||||
- '{{ tomcat_m_instances }}'
|
|
||||||
- '{{ d4science_tomcat_options_files }}'
|
|
||||||
tags: [ 'tomcat', 'd4science', 'acl' ]
|
tags: [ 'tomcat', 'd4science', 'acl' ]
|
||||||
|
|
||||||
- name: Set the default read/write permissions on the tomcat default options files
|
- name: Set the read/write permissions on the tomcat default local options files
|
||||||
acl: name={{ item.1 }} entity={{ item.0.user }} etype=user permissions=rw state=present default=yes
|
acl: name=/etc/default/tomcat-instance-{{ item.http_port }}.local entity={{ item.user }} etype=user permissions=rw state=present
|
||||||
with_nested:
|
with_items: tomcat_m_instances
|
||||||
- '{{ tomcat_m_instances }}'
|
|
||||||
- '{{ d4science_tomcat_options_files }}'
|
|
||||||
tags: [ 'tomcat', 'd4science', 'acl' ]
|
tags: [ 'tomcat', 'd4science', 'acl' ]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -76,8 +76,7 @@
|
||||||
apt: pkg={{ item }} state=installed
|
apt: pkg={{ item }} state=installed
|
||||||
when: has_apt
|
when: has_apt
|
||||||
with_items: common_packages
|
with_items: common_packages
|
||||||
tags:
|
tags: [ 'packages', 'common_pkgs' ]
|
||||||
- packages
|
|
||||||
|
|
||||||
- name: Install the ntp server
|
- name: Install the ntp server
|
||||||
apt: pkg=ntp state=installed
|
apt: pkg=ntp state=installed
|
||||||
|
|
Loading…
Reference in New Issue