Project

General

Profile

Feature #31890

Tracker #31404: Improve Ansible integration so it is usable as CfgMngmt tool

Consume the reports callback from the foreman ansible collection

Added by Marek Hulán over 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

We need to start consuming the callback from our collection. To do that, we can simply install the rpm with the collection whenever smart_proxy_ansible is installed (package dependency) and configure callback_whitelist in ansible.cfg to use theforeman.foreman.foreman instead of foreman (from Ansible core)

These are the places that needs changing
https://github.com/theforeman/puppet-foreman_proxy/blob/7d3da00055c9f6af1b14eb5ff47028bf1222209a/templates/plugin/ansible.cfg.erb#L2
https://github.com/theforeman/foreman-packaging/blob/1621103be7073c5962b8d22c8303733d0ff60d8d/packages/plugins/rubygem-smart_proxy_ansible/rubygem-smart_proxy_ansible.spec#L49
https://github.com/theforeman/foreman-packaging/blob/2a144e46e0bb3f89d81f2c5e75c33dc56286a106/plugins/smart_proxy_ansible/control#L15


Related issues

Related to Installer - Feature #31893: smart_proxy_ansible should use theforeman.foreman.foreman instead of foreman in callback_whitelistClosed
Related to Packaging - Feature #31892: smart_proxy_ansible must depend on foreman ansible modules -- RPMClosed
Related to Ansible - Bug #32020: Foreman callback is run always not just for rolesClosed
Related to Packaging - Feature #32335: smart_proxy_ansible must depend on foreman ansible modules -- DebianNew

History

#1 Updated by Marek Hulán over 2 years ago

  • Related to Feature #31893: smart_proxy_ansible should use theforeman.foreman.foreman instead of foreman in callback_whitelist added

#2 Updated by Marek Hulán over 2 years ago

  • Related to Feature #31892: smart_proxy_ansible must depend on foreman ansible modules -- RPM added

#3 Updated by Ondřej Ezr about 2 years ago

  • Parent task set to #31404

#4 Updated by Adam Ruzicka about 2 years ago

  • Related to Bug #32020: Foreman callback is run always not just for roles added

#5 Updated by Evgeni Golov about 2 years ago

  • Related to Feature #32335: smart_proxy_ansible must depend on foreman ansible modules -- Debian added

#6 Updated by Evgeni Golov about 2 years ago

@Marek debian packages are available, but not "used by default", as discussed earlier

Would you still think the debian part is done and close it out?

#7 Updated by Ondřej Ezr over 1 year ago

  • Status changed from New to Resolved

I'd consider it best effort, we've pushed it quite far, didn't we?

Also available in: Atom PDF