Jon Zeolla created METRON-446:
---------------------------------

             Summary: Ansible's deployment-report fails when you skip the 
sensor tag
                 Key: METRON-446
                 URL: https://issues.apache.org/jira/browse/METRON-446
             Project: Metron
          Issue Type: Bug
            Reporter: Jon Zeolla


When installing on bare metal using ansible the command `ansible-playbook -i 
/root/incubator-metron/metron-deployment/inventory/$INSTALL_CONF_DIRECTORY 
metron_install.yml --skip-tags="solr,sensors"` fails with the below message:

TASK [deployment-report : set_fact] ********************************************
fatal: [server1]: FAILED! => {"failed": true, "msg": "ERROR! 'dict object' has 
no attribute 'sensors'"}

As an interim I was able to comment out 
/root/incubator-metron/metron-deployment/roles/deployment-report/tasks/main.yml:32
 and successfully run the playbook.  

This needs to more elegantly handle skipping optional tags such as sensor.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to