2021-10-15 10:50:42 +02:00
|
|
|
---
|
|
|
|
|
2023-03-20 23:33:19 +01:00
|
|
|
- ansible.builtin.include_role:
|
2021-10-22 11:56:43 +02:00
|
|
|
name: evolix/remount-usr
|
|
|
|
|
2023-03-20 23:33:19 +01:00
|
|
|
- ansible.builtin.include_tasks:
|
2022-07-05 15:55:47 +02:00
|
|
|
file: dump-server-state.yml
|
2022-03-28 11:56:03 +02:00
|
|
|
|
2022-01-25 17:44:42 +01:00
|
|
|
- name: "/sbin/deny script is present"
|
2023-03-18 18:35:54 +01:00
|
|
|
ansible.builtin.copy:
|
2022-01-25 17:44:42 +01:00
|
|
|
src: deny.sh
|
|
|
|
dest: /sbin/deny
|
|
|
|
mode: "0700"
|
|
|
|
owner: root
|
|
|
|
group: root
|
2023-06-28 13:22:59 +02:00
|
|
|
force: false
|
2022-06-01 10:46:11 +02:00
|
|
|
|
|
|
|
- name: update-evobackup-canary script is present
|
2023-03-18 18:35:54 +01:00
|
|
|
ansible.builtin.copy:
|
2022-09-12 13:54:57 +02:00
|
|
|
src: update-evobackup-canary
|
2022-06-01 10:46:11 +02:00
|
|
|
dest: /usr/local/bin/update-evobackup-canary
|
|
|
|
force: True
|
|
|
|
owner: root
|
|
|
|
group: root
|
2022-06-01 17:23:56 +02:00
|
|
|
mode: "0755"
|
2022-06-01 10:46:11 +02:00
|
|
|
|
|
|
|
# TODO: delete when this has been run once on all our servers
|
|
|
|
- name: update-evobackup-canary is removed from sbin
|
2023-03-18 18:35:54 +01:00
|
|
|
ansible.builtin.file:
|
2022-06-01 10:46:11 +02:00
|
|
|
path: /usr/local/sbin/update-evobackup-canary
|
2022-06-01 17:23:56 +02:00
|
|
|
state: absent
|
|
|
|
|
2022-10-11 13:37:21 +02:00
|
|
|
- name: Deploy htop configuration
|
2023-03-18 18:35:54 +01:00
|
|
|
ansible.builtin.copy:
|
2022-10-11 13:37:21 +02:00
|
|
|
src: htoprc
|
|
|
|
dest: /etc/htoprc
|
|
|
|
mode: "0644"
|
|
|
|
|
|
|
|
- name: Deploy top configuration file
|
2023-03-18 18:35:54 +01:00
|
|
|
ansible.builtin.file:
|
2022-10-11 13:37:21 +02:00
|
|
|
path: /etc/topdefaultrc
|
|
|
|
state: absent
|