evolinux-base: move htop/top config to different task file
This commit is contained in:
parent
f9125b8f3f
commit
9e3e20e3a8
|
@ -214,3 +214,16 @@
|
||||||
- grep_hotplug_eni.rc == 0
|
- grep_hotplug_eni.rc == 0
|
||||||
|
|
||||||
- ansible.builtin.meta: flush_handlers
|
- ansible.builtin.meta: flush_handlers
|
||||||
|
|
||||||
|
# Htop / top config
|
||||||
|
|
||||||
|
- 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
|
|
@ -23,14 +23,3 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|
Loading…
Reference in a new issue