summaryrefslogtreecommitdiff
path: root/roles/base/tasks/main.yaml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-12-13 01:28:22 +0100
committerChristian Pointner <equinox@spreadspace.org>2017-12-13 01:28:22 +0100
commit094946231d9e7edddfa043827ec00769a031e061 (patch)
tree36cc74c666b2c508d2e3639e08ac553a5c466402 /roles/base/tasks/main.yaml
parentadded workaround for new key detection (diff)
install htoprc and disable installation of recommends
Diffstat (limited to 'roles/base/tasks/main.yaml')
-rw-r--r--roles/base/tasks/main.yaml17
1 files changed, 17 insertions, 0 deletions
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