| Summary: | ansible-playbook runs not reported to Satellite, running ansible 1.9 | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | sthirugn <sthirugn> |
| Component: | Ansible | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | sthirugn <sthirugn> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.0 | ||
| Target Milestone: | Unspecified | ||
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-19 20:15:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Configuration error. It works fine after fixing the configuration. |
Description of problem: ansible-playbook runs not reported to Satellite, running ansible 1.9 Version-Release number of selected component (if applicable): # rpm -qa | grep satellite satellite-installer-6.3.0-1.el7sat.noarch satellite-cli-6.3.0-1.0.git.7.fb12bf2.el7sat.noarch tfm-rubygem-foreman_theme_satellite-1.0.0-1.git.2.94b76fc.el7.noarch satellite-6.3.0-1.0.git.7.fb12bf2.el7sat.noarch # rpm -qa | grep ansible ansible1.9-1.9.6-2.el7.noarch tfm-rubygem-foreman_ansible-1.2.1-1.fm1_13.el7.noarch tfm-rubygem-foreman_ansible_core-0.0.1-2.fm1_13.el7.noarch How reproducible: Always Steps to Reproduce: 1. ansible callback is setup properly in satellite and `ansible -m setup localhost` ran without any errors 2. Create a simple ansible module. My main.yml just had: --- - hosts: all remote_user: root tasks: - name: enable selinux command: /sbin/setenforce 1 3. # cat /etc/ansible/hosts ... ... rhsm-qe-3.rhq.lab.eng.bos.redhat.com 192.168.100.5 4. Run playbook: # ansible-playbook /etc/ansible/roles/ntp/tasks/main.yml PLAY [all] ******************************************************************** GATHERING FACTS *************************************************************** ok: [192.168.100.5] ok: [rhsm-qe-3.rhq.lab.eng.bos.redhat.com] TASK: [enable selinux] ******************************************************** changed: [192.168.100.5] changed: [rhsm-qe-3.rhq.lab.eng.bos.redhat.com] PLAY RECAP ******************************************************************** 192.168.100.5 : ok=2 changed=1 unreachable=0 failed=0 rhsm-qe-3.rhq.lab.eng.bos.redhat.com : ok=2 changed=1 unreachable=0 failed=0 Actual results: No reports created in Satellite after the successful playbook run as shown above. Expected results: Reports created in Satellite after the successful playbook run as shown above. Additional info: Earlier I reported this for Ansible 2.x versions (https://bugzilla.redhat.com/show_bug.cgi?id=1383697) but in Satellite 6.3 snap 5 - it failed for Ansible 1.9 as well.