EvoBSD/roles/base/tasks/evomaintenance.yml
Patrick Marchand 98089a3274
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Fix yaml lint lines too long
In some cases I used block scalars: https://yaml-multiline.info/
In other cases I added newlines
In rare cases I just ignored the rule: https://yamllint.readthedocs.io/en/stable/disable_with_comments.html
2020-06-04 12:51:53 -04:00

36 lines
739 B
YAML

---
- name: Create scripts directory
file:
path: /usr/share/scripts/
state: directory
owner: root
group: wheel
mode: "0700"
tags:
- evomaintenance
- name: Copy evomaintenance script and template
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: 'root'
group: 'wheel'
mode: '0755'
with_items:
- {src: 'evomaintenance.sh', dest: '/usr/share/scripts/'}
- {src: 'evomaintenance.tpl', dest: '/usr/share/scripts/'}
tags:
- evomaintenance
- script-evomaintenance
- name: Configure evomaintenance
template:
src: evomaintenance.j2
dest: /etc/evomaintenance.cf
owner: root
group: wheel
mode: "0600"
backup: false
tags:
- evomaintenance