Project

General

Profile

Actions

Feature #31890

closed

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 about 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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 4 (1 open3 closed)

Related to Installer - Feature #31893: smart_proxy_ansible should use theforeman.foreman.foreman instead of foreman in callback_whitelistClosedEvgeni GolovActions
Related to Packaging - Feature #31892: smart_proxy_ansible must depend on foreman ansible modules -- RPMClosedEvgeni GolovActions
Related to Ansible - Bug #32020: Foreman callback is run always not just for rolesClosedAdam RuzickaActions
Related to Packaging - Feature #32335: smart_proxy_ansible must depend on foreman ansible modules -- DebianNewActions
Actions #1

Updated by Marek Hulán about 3 years ago

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

Updated by Marek Hulán about 3 years ago

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

Updated by Ondřej Ezr about 3 years ago

  • Parent task set to #31404
Actions #4

Updated by Adam Ruzicka about 3 years ago

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

Updated by Evgeni Golov about 3 years ago

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

Updated by Evgeni Golov almost 3 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?

Actions #7

Updated by Ondřej Ezr over 2 years ago

  • Status changed from New to Resolved

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

Actions

Also available in: Atom PDF