Bug #22950
closed
Ensure Ansible callback variables are available in systemd context
Added by Daniel Lobato Garcia almost 7 years ago.
Updated almost 7 years ago.
Description
/etc/sysconfig/foreman-proxy should contain the FOREMAN_URL, FOREMAN_SSL_CERT, FOREMAN_SSL_KEY and FOREMAN_SSL_VERIFY variables.
These variables should be set by the installer so the callback is usable without manual configuration, the defaults wont work (it would be a good idea to change them to more sensible ones anyway).
- Blocks Tracker #22841: Installer should set up the Ansible proxy added
- Project changed from Ansible to Installer
- Subject changed from Ensure callback variables are available in systemd context to Ensure Ansible callback variables are available in systemd context
I think this is the wrong solution. /etc/sysconfig/foreman-proxy is deprecated and not present on Debian. It's also duplication of configuration since settings.yml already contains all these variables. Instead I think it's better if foreman-proxy (or rather smart_proxy_ansible) sets the environment variables when calling ansible.
- Status changed from New to Rejected
Also available in: Atom
PDF