Description of problem: 'ceph-collectd : Set collectd_dir' task in {{cephmetrics-ansible directory}}/roles/ceph-collectd/tasks/install_collectd_plugins.yml is not run if devel mode is not chosen, because in main.yml is: - include: install_collectd_plugins.yml when: - not containerized_deployment - devel_mode tags: - collectors Hence collected_dir parameter is not set. However this parameter is required in 'ceph-collectd : Set PluginDir in collectd.conf' task. This causes that run of ansible playbook playbook.yml always fails when devel_mode is not set to true. Version-Release number of selected component (if applicable): cephmetrics-ansible-1.0-1.el7cp.x86_64 How reproducible: 100% Steps to Reproduce: 1. Install cephmetrics-ansible 2. Set what's required and run ansible playbook playbook.yml in /usr/share/cephmetrics-ansible directory Actual results: ansible-playbook run fails Expected results: run ends successfully Additional info:
Tested with: cephmetrics-ansible-1.0-6.el7cp.x86_64 cephmetrics are installed successfully.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3387