summaryrefslogtreecommitdiffstats
path: root/roles/ands_common
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-22 04:37:46 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-22 04:37:46 +0100
commit0b0b9954c2d0602b1e9d0a387d2a195a790f8084 (patch)
treef0a3a26edd280b8fd84945944bd153f411b31fea /roles/ands_common
parente2c7b1305ca8495065dcf40fd2092d7c698dd6ea (diff)
downloadands-0b0b9954c2d0602b1e9d0a387d2a195a790f8084.tar.gz
ands-0b0b9954c2d0602b1e9d0a387d2a195a790f8084.tar.bz2
ands-0b0b9954c2d0602b1e9d0a387d2a195a790f8084.tar.xz
ands-0b0b9954c2d0602b1e9d0a387d2a195a790f8084.zip
Various fixes and provide ADEI admin container...
Diffstat (limited to 'roles/ands_common')
-rw-r--r--roles/ands_common/tasks/main.yml7
-rw-r--r--roles/ands_common/tasks/software.yml18
2 files changed, 20 insertions, 5 deletions
diff --git a/roles/ands_common/tasks/main.yml b/roles/ands_common/tasks/main.yml
index e9196ad..4027b7a 100644
--- a/roles/ands_common/tasks/main.yml
+++ b/roles/ands_common/tasks/main.yml
@@ -16,7 +16,6 @@
package: name={{item}} state=present
register: result
with_items:
- - mc
- bzr
- git
- yamllint
@@ -29,7 +28,6 @@
- PyYAML
- python-rhsm-certificates
- glusterfs-fuse
- - telnet
- yum-plugin-versionlock
# We always update on first install and if requested
@@ -42,6 +40,5 @@
# with_items:
# - nodejs
-- name: Ensure all extra packages are installed
- package: name={{item}} state=present
- with_items: "{{ extra_packages | default([]) }}"
+- name: Install additional software
+ include_tasks: software.yml
diff --git a/roles/ands_common/tasks/software.yml b/roles/ands_common/tasks/software.yml
new file mode 100644
index 0000000..ea37b51
--- /dev/null
+++ b/roles/ands_common/tasks/software.yml
@@ -0,0 +1,18 @@
+- name: Install various administrative tools
+ package: name={{item}} state=present
+ with_items:
+ - mc
+ - telnet
+ - lsof
+ - strace
+
+# We also can install something conditionally
+#- name: Install various administrative tools
+# package: name={{item}} state=present
+# when: 'ands_storage_servers' in group_names
+# with_items:
+
+
+- name: Ensure all extra packages are installed
+ package: name={{item}} state=present
+ with_items: "{{ extra_packages | default([]) }}"