Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
558 B

---
- name: Deploy sysconfig
template: src=sysconfig.j2 dest=/etc/sysconfig/tomcat@diagrams
notify: restart diagrams
tags: diagrams
- name: Deploy tomcat configuration
template: src={{ item }}.j2 dest={{ diagrams_root_dir }}/conf/{{ item }} group=tomcat mode=640
loop:
- server.xml
notify: restart diagrams
tags: diagrams
- name: Link configuration files
file: state=link src=/etc/tomcat/{{ item }} dest={{ diagrams_root_dir }}/conf/{{ item }}
loop:
- web.xml
- logging.properties
notify: restart diagrams
tags: diagrams