ansible-roles/roles/diagrams/tasks/main.yml

45 lines
794 B
YAML
Raw Normal View History

2021-12-01 19:13:34 +01:00
---
- name: Install tomcat
yum:
name:
- tomcat
tags: diagrams
2022-02-27 18:00:05 +01:00
- include_tasks: directories.yml
tags: always
2022-03-07 17:00:06 +01:00
2022-02-27 18:00:05 +01:00
- include_tasks: facts.yml
tags: always
2022-03-07 17:00:06 +01:00
2022-02-27 18:00:05 +01:00
- include_tasks: archive_pre.yml
when: diagrams_install_mode | default('none') == 'upgrade'
tags: always
2022-03-07 17:00:06 +01:00
2022-02-27 18:00:05 +01:00
- include_tasks: install.yml
tags: always
2022-03-07 17:00:06 +01:00
2022-02-27 18:00:05 +01:00
- include_tasks: conf.yml
tags: always
2022-03-07 17:00:06 +01:00
2022-02-27 18:00:05 +01:00
- include_tasks: selinux.yml
2021-12-01 19:13:34 +01:00
when: ansible_selinux.status == 'enabled'
2022-02-27 18:00:05 +01:00
tags: always
2022-03-07 17:00:06 +01:00
2022-02-27 18:00:05 +01:00
- include_tasks: iptables.yml
2021-12-01 19:13:34 +01:00
when: iptables_manage | default(True)
2022-02-27 18:00:05 +01:00
tags: always
2022-03-07 17:00:06 +01:00
2022-02-27 18:00:05 +01:00
- include_tasks: services.yml
tags: always
2022-03-07 17:00:06 +01:00
2022-02-27 18:00:05 +01:00
- include_tasks: write_version.yml
tags: always
2022-03-07 17:00:06 +01:00
2022-02-27 18:00:05 +01:00
- include_tasks: archive_post.yml
when: diagrams_install_mode | default('none') == 'upgrade'
tags: always
2022-03-07 17:00:06 +01:00
2022-02-27 18:00:05 +01:00
- include_tasks: cleanup.yml
tags: always