Project

General

Profile

Actions

Bug #22950

closed

Ensure Ansible callback variables are available in systemd context

Added by Daniel Lobato Garcia about 6 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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).


Related issues 1 (0 open1 closed)

Blocks Ansible - Tracker #22841: Installer should set up the Ansible proxyClosed

Actions
Actions #1

Updated by Daniel Lobato Garcia about 6 years ago

  • Blocks Tracker #22841: Installer should set up the Ansible proxy added
Actions #2

Updated by Daniel Lobato Garcia about 6 years ago

  • 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
Actions #3

Updated by Ewoud Kohl van Wijngaarden about 6 years ago

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.

Actions #4

Updated by Ewoud Kohl van Wijngaarden almost 6 years ago

  • Status changed from New to Rejected

Since ansible 2.5 the env variables are no longer supported. In https://github.com/theforeman/puppet-foreman_proxy/commit/7ee913c68d9a35b35db72758c960b5a1605cdcc3 we started to configure the foreman-proxy user in the correct way.

Actions

Also available in: Atom PDF