From 094946231d9e7edddfa043827ec00769a031e061 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 13 Dec 2017 01:28:22 +0100 Subject: install htoprc and disable installation of recommends --- roles/base/tasks/main.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'roles/base/tasks/main.yaml') diff --git a/roles/base/tasks/main.yaml b/roles/base/tasks/main.yaml index 3e06761d..a4481920 100644 --- a/roles/base/tasks/main.yaml +++ b/roles/base/tasks/main.yaml @@ -37,6 +37,23 @@ tags: - screen +- name: install htop config (1/2) + with_items: + - /root + - /etc/skel + file: + name: "{{ item }}/.config/htop/" + state: directory + mode: 0700 + +- name: install htop config (2/2) + with_items: + - /root + - /etc/skel + copy: + src: htoprc + dest: "{{ item }}/.config/htop/" + - name: Ensure /root is not world accessible file: path: /root -- cgit v1.2.3