Browse Source

updated to support all OSes using systemd

pull/230/head
Spencer Smith 8 years ago
parent
commit
c90c981bb2
2 changed files with 2 additions and 3 deletions
  1. 5
      roles/docker/tasks/main.yml
  2. 0
      roles/docker/tasks/systemd-proxies.yml

5
roles/docker/tasks/main.yml

@ -54,9 +54,8 @@
when: docker_package_info.pkgs|length > 0
- name: allow for proxies on RHEL systems
include: rhel-proxies.yml
when: ansible_distribution in ["CentOS","RedHat"] and
ansible_distribution_major_version >= 7 and
include: systemd-proxies.yml
when: ansible_service_mgr == "systemd" and
(http_proxy is defined or https_proxy is defined or no_proxy is defined)
- meta: flush_handlers

roles/docker/tasks/rhel-proxies.yml → roles/docker/tasks/systemd-proxies.yml

Loading…
Cancel
Save