updated to support all OSes using systemd
This commit is contained in:
@ -54,9 +54,8 @@
|
|||||||
when: docker_package_info.pkgs|length > 0
|
when: docker_package_info.pkgs|length > 0
|
||||||
|
|
||||||
- name: allow for proxies on RHEL systems
|
- name: allow for proxies on RHEL systems
|
||||||
include: rhel-proxies.yml
|
include: systemd-proxies.yml
|
||||||
when: ansible_distribution in ["CentOS","RedHat"] and
|
when: ansible_service_mgr == "systemd" and
|
||||||
ansible_distribution_major_version >= 7 and
|
|
||||||
(http_proxy is defined or https_proxy is defined or no_proxy is defined)
|
(http_proxy is defined or https_proxy is defined or no_proxy is defined)
|
||||||
|
|
||||||
- meta: flush_handlers
|
- meta: flush_handlers
|
||||||
|
Reference in New Issue
Block a user