Jérémy Lecour
ee21973371
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
28 lines
733 B
YAML
28 lines
733 B
YAML
---
|
|
- name: Install evoadminmail VHost
|
|
ansible.builtin.template:
|
|
src: apache_evoadminmail.conf.j2
|
|
dest: /etc/apache2/sites-available/evoadminmail.conf
|
|
notify: reload apache2
|
|
tags:
|
|
- evoadmin-mail
|
|
|
|
- name: Enable evoadminmail vhost
|
|
ansible.builtin.file:
|
|
src: "/etc/apache2/sites-available/evoadminmail.conf"
|
|
dest: "/etc/apache2/sites-enabled/evoadminmail.conf"
|
|
state: link
|
|
notify: reload apache2
|
|
when: evoadminmail_enable_vhost | bool
|
|
tags:
|
|
- evoadmin-mail
|
|
|
|
- name: Disable evoadminmail vhost
|
|
ansible.builtin.file:
|
|
dest: "/etc/apache2/sites-enabled/evoadminmail.conf"
|
|
state: absent
|
|
notify: reload apache2
|
|
when: not (evoadminmail_enable_vhost | bool)
|
|
tags:
|
|
- evoadmin-mail
|