summaryrefslogtreecommitdiffstats
path: root/roles/ands_common/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_common/tasks')
-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([]) }}"