Use correct dnf.conf path for proxy

The dnf configuration lives at /etc/dnf/dnf.conf, not /etc/dnf.conf.

Implements: blueprint centos-and-dnf
Change-Id: Idb14355ec739795539f9589261c4db9536ac13b4
This commit is contained in:
Major Hayden 2017-08-11 12:04:17 -05:00 committed by Kevin Carter (cloudnull)
parent c4105464e6
commit b7a0dedbf5
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@
- name: Deploy dnf package manager proxy
lineinfile:
line: 'proxy={{ repo_pkg_cache_url }}'
dest: "/etc/dnf.conf"
dest: "/etc/dnf/dnf.conf"
state: "{{ (proxy_check.status == 200) | ternary('present', 'absent') }}"
when:
- ansible_os_family == 'RedHat'