From 0b0b9954c2d0602b1e9d0a387d2a195a790f8084 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 22 Mar 2018 04:37:46 +0100 Subject: Various fixes and provide ADEI admin container... --- roles/ands_common/tasks/main.yml | 7 ++----- roles/ands_common/tasks/software.yml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 roles/ands_common/tasks/software.yml (limited to 'roles/ands_common') 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([]) }}" -- cgit v1.2.3