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
20 lines
477 B
YAML
20 lines
477 B
YAML
---
|
|
|
|
- ansible.builtin.assert:
|
|
that:
|
|
- evomaintenance_api_endpoint is not none
|
|
- evomaintenance_api_key is not none
|
|
msg: evomaintenance api variables must be set
|
|
when: evomaintenance_hook_api | bool
|
|
|
|
- name: Configuration is installed
|
|
ansible.builtin.template:
|
|
src: evomaintenance.j2
|
|
dest: /etc/evomaintenance.cf
|
|
owner: root
|
|
group: root
|
|
mode: "0600"
|
|
force: "{{ evomaintenance_force_config | bool }}"
|
|
tags:
|
|
- evomaintenance
|