Jérémy Lecour
00fe225a3c
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2615|7|2608|177|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
43 lines
953 B
YAML
43 lines
953 B
YAML
---
|
|
|
|
- ansible.builtin.include_role:
|
|
name: evolix/remount-usr
|
|
|
|
- ansible.builtin.include_tasks:
|
|
file: dump-server-state.yml
|
|
|
|
- name: "/sbin/deny script is present"
|
|
ansible.builtin.copy:
|
|
src: deny.sh
|
|
dest: /sbin/deny
|
|
mode: "0700"
|
|
owner: root
|
|
group: root
|
|
force: false
|
|
|
|
- name: update-evobackup-canary script is present
|
|
ansible.builtin.copy:
|
|
src: update-evobackup-canary
|
|
dest: /usr/local/bin/update-evobackup-canary
|
|
force: True
|
|
owner: root
|
|
group: root
|
|
mode: "0755"
|
|
|
|
# TODO: delete when this has been run once on all our servers
|
|
- name: update-evobackup-canary is removed from sbin
|
|
ansible.builtin.file:
|
|
path: /usr/local/sbin/update-evobackup-canary
|
|
state: absent
|
|
|
|
- name: Deploy htop configuration
|
|
ansible.builtin.copy:
|
|
src: htoprc
|
|
dest: /etc/htoprc
|
|
mode: "0644"
|
|
|
|
- name: Deploy top configuration file
|
|
ansible.builtin.file:
|
|
path: /etc/topdefaultrc
|
|
state: absent
|