mirror of https://github.com/ceph/ceph-ansible.git
3684d421e4
This is not needed to play these tasks on nodes that are not in rgw group. Always playing this code makes `shrink_mon.yml` failing. Typical error: ``` TASK [ceph-defaults : set_fact _radosgw_address to radosgw_interface - ipv4] *** task path: /home/jenkins-build/build/workspace/ceph-ansible-prs-dev-shrink_mon/roles/ceph-defaults/tasks/set_radosgw_address.yml:21 Thursday 22 November 2018 12:34:51 +0000 (0:00:00.154) 0:00:12.371 ***** fatal: [localhost]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute u'ansible_eth1' ``` Indeed, `radosgw_interface` is the network interface on rgw only. It is expected that this same interface doesn't exist on `localhost`, so, when running `shrink_mon.yml`, the role `ceph-defaults` is called in `hosts: localhost` and causes the playbook to fail. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> |
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
contrib | ||
docs | ||
group_vars | ||
infrastructure-playbooks | ||
library | ||
plugins | ||
profiles | ||
roles | ||
tests | ||
.gitignore | ||
.mergify.yml | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE | ||
Makefile | ||
README-MULTISITE.md | ||
README.rst | ||
Vagrantfile | ||
ansible.cfg | ||
ceph-ansible.spec.in | ||
dummy-ansible-hosts | ||
generate_group_vars_sample.sh | ||
requirements.txt | ||
rhcs_edits.txt | ||
site-container.yml.sample | ||
site-docker.yml.sample | ||
site.yml.sample | ||
test.yml | ||
tox.ini | ||
vagrant_variables.yml.sample |
README.rst
ceph-ansible ============ Ansible playbooks for Ceph, the distributed filesystem. Please refer to our hosted documentation here: http://docs.ceph.com/ceph-ansible/master/ You can view documentation for our ``stable-*`` branches by substituting ``master`` in the link above for the name of the branch. For example: http://docs.ceph.com/ceph-ansible/stable-3.0/