Merge remote-tracking branch 'upstream/master' into cluster_name_for_ceph_fetch_keys

pull/1014/head
9seconds 2016-10-07 16:08:58 +03:00
commit ff629f749b
3 changed files with 17 additions and 5 deletions

View File

@ -11,7 +11,7 @@ for role in "$basedir"/roles/ceph-*; do
elif [[ $rolename == "ceph-agent" ]]; then elif [[ $rolename == "ceph-agent" ]]; then
output="agent.sample" output="agent.sample"
elif [[ $rolename == "ceph-fetch-keys" ]]; then elif [[ $rolename == "ceph-fetch-keys" ]]; then
continue output="ceph-fetch-keys.sample"
else else
output="${rolename:5}s.sample" output="${rolename:5}s.sample"
fi fi

View File

@ -0,0 +1,12 @@
---
# Variables here are applicable to all host groups NOT roles
# This sample file generated by generate_group_vars_sample.sh
# Dummy variable to avoid error because ansible does not recognize the
# file as a good configuration file when no variable in it.
dummy:
#fetch_directory: fetch/

View File

@ -1,13 +1,13 @@
--- ---
- name: install libnss3-tools on redhat - name: install nss-tools on redhat
yum: yum:
name: libnss3-tools name: nss-tools
state: present state: present
when: ansible_pkg_mgr == "yum" when: ansible_pkg_mgr == "yum"
- name: install libnss3-tools on redhat - name: install nss-tools on redhat
dnf: dnf:
name: libnss3-tools name: nss-tools
state: present state: present
when: ansible_pkg_mgr == "dnf" when: ansible_pkg_mgr == "dnf"