Description of problem: According to https://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%20lines, `ENVIRONMENT` can't be recognized in systemd service configurations. Only `Environment` recognized. Version-Release number of selected component (if applicable): openshift-ansible-3.6.68-1.git.0.9cbe2b7.el7.noarch.rpm How reproducible: always Steps to Reproduce: 1. Set up proxy env while using docker system container #cat inventory_hosts <--snip--> openshift_docker_use_system_container=true openshift_docker_systemcontainer_image_registry_override=brew-xxx.redhat.com:8888/rhel7 openshift_http_proxy=http://xxx.redhat.com:3128 openshift_https_proxy=http://xxx.redhat.com:3128 <--snip--> Actual results: Failed to pull images via docker client from external registry due to proxy variables not loaded into `container-engine` successfully. # systemctl status container-engine <--snip--> May 15 23:51:06 openshift-147.lab.sjc.redhat.com systemd[1]: [/etc/systemd/system/container-engine.service.d/custom.conf:6] Unknown lvalue 'ENVIRONMENT' in section 'Service' It worked well after renaming 'ENVIRONMENT' to `Environment`. Expected results: Additional info:
Pull request here: https://github.com/openshift/openshift-ansible/pull/4214
Verified with openshift-ansible-3.6.98-1.git.0.e651d65.el7.noarch.rpm Proxy variables set correctly.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1716