summaryrefslogtreecommitdiffstats
path: root/roles/common
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-25 00:19:07 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-25 00:19:07 +0200
commit9e38736b93a6b737ecb53d1f41dadf45cbb22c1c (patch)
tree33cda4d193d83772e7fd0f45e7101452497be7d3 /roles/common
parent15890ccdef55168e9753ff6957ce64096837c627 (diff)
downloaditm-9e38736b93a6b737ecb53d1f41dadf45cbb22c1c.tar.gz
itm-9e38736b93a6b737ecb53d1f41dadf45cbb22c1c.tar.bz2
itm-9e38736b93a6b737ecb53d1f41dadf45cbb22c1c.tar.xz
itm-9e38736b93a6b737ecb53d1f41dadf45cbb22c1c.zip
Various stuff to pre-configure compute nodes
Diffstat (limited to 'roles/common')
-rw-r--r--roles/common/tasks/install.yml3
-rw-r--r--roles/common/tasks/main.yml2
-rw-r--r--roles/common/tasks/software.yml1
3 files changed, 5 insertions, 1 deletions
diff --git a/roles/common/tasks/install.yml b/roles/common/tasks/install.yml
index 9f3cf79..53c4a00 100644
--- a/roles/common/tasks/install.yml
+++ b/roles/common/tasks/install.yml
@@ -14,6 +14,9 @@
- name: Install additional software
include_tasks: software.yml
+- name: Ensure csa user can login using public key auth
+ file: path="/home/csa/.ssh" owner="csa" group="csa" recurse=true
+
- name: Configure git
shell: |
git config --global http.sslVerify false
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml
index 9f0b72c..086c952 100644
--- a/roles/common/tasks/main.yml
+++ b/roles/common/tasks/main.yml
@@ -1,3 +1,3 @@
---
-- name: "Configuring OpenShift"
+- name: "Running {{ subrole | default('install') }}"
include_tasks: "{{ subrole | default('install') }}.yml"
diff --git a/roles/common/tasks/software.yml b/roles/common/tasks/software.yml
index 3a1a5c1..add70d6 100644
--- a/roles/common/tasks/software.yml
+++ b/roles/common/tasks/software.yml
@@ -7,6 +7,7 @@
- strace
- git
- pciutils
+ - htop
- name: Ensure all extra packages are installed
package: name={{item}} state=present