ansible-roles/webapps/evoadmin-web/tasks/main.yml
Jérémy Lecour 1728eaee68
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Revert "Add “when: not ansible_check_mode” to allow more --check"
This reverts commit fafff25c20.
This reverts commit e64471c5a8084f95a8e6f955d3fa918c55b8e846.
2022-12-14 07:41:18 +01:00

26 lines
587 B
YAML

---
- name: "Ensure that evoadmin_contact_email is defined"
fail:
msg: Please configure var evoadmin_contact_email
when: evoadmin_contact_email is none or evoadmin_contact_email | length == 0
- include: packages.yml
- include: user.yml
- include: config.yml
- include: ssl.yml
- include: web.yml
- include: ftp.yml
- name: enable evoadmin-web link in default site index
blockinfile:
dest: /var/www/index.html
marker: "<!-- {mark} evoadmin-web section -->"
block: |
<li><a href="https://{{ evoadmin_host }}">Interface admin web (EvoAdmin-web)</a></li>