diff options
author | Steve Milner <smilner@redhat.com> | 2017-05-15 10:17:43 -0400 |
---|---|---|
committer | Steve Milner <smilner@redhat.com> | 2017-05-15 10:35:57 -0400 |
commit | 69c26f3bc3b9cefc9df9b3fc1c7d3dd6dea625fe (patch) | |
tree | 6b4ffd8767ba0f2bb3ed7aa34bb1023d30eda583 /roles/docker | |
parent | d8916bea8822b6f828d90fd85b026a32070a5883 (diff) | |
download | openshift-69c26f3bc3b9cefc9df9b3fc1c7d3dd6dea625fe.tar.gz openshift-69c26f3bc3b9cefc9df9b3fc1c7d3dd6dea625fe.tar.bz2 openshift-69c26f3bc3b9cefc9df9b3fc1c7d3dd6dea625fe.tar.xz openshift-69c26f3bc3b9cefc9df9b3fc1c7d3dd6dea625fe.zip |
use dest instead of path for lineinfile
Switching to dest instead of path for lineinfile. path is the name for
ansible 2.3+ though dest will work for 2.2 and 2.3.
Ref: http://docs.ansible.com/ansible/lineinfile_module.html
Diffstat (limited to 'roles/docker')
-rw-r--r-- | roles/docker/tasks/systemcontainer_docker.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/docker/tasks/systemcontainer_docker.yml b/roles/docker/tasks/systemcontainer_docker.yml index e5576d515..9070a871f 100644 --- a/roles/docker/tasks/systemcontainer_docker.yml +++ b/roles/docker/tasks/systemcontainer_docker.yml @@ -46,24 +46,24 @@ - name: Add http_proxy to /etc/atomic.conf lineinfile: - path: /etc/atomic.conf - line: "http_proxy={{ openshift.common.http_proxy | default('') }}" + dest: /etc/atomic.conf + line: "http_proxy: {{ openshift.common.http_proxy | default('') }}" when: - openshift.common.http_proxy is defined - openshift.common.http_proxy != '' - name: Add https_proxy to /etc/atomic.conf lineinfile: - path: /etc/atomic.conf - line: "https_proxy={{ openshift.common.https_proxy | default('') }}" + dest: /etc/atomic.conf + line: "https_proxy: {{ openshift.common.https_proxy | default('') }}" when: - openshift.common.https_proxy is defined - openshift.common.https_proxy != '' - name: Add no_proxy to /etc/atomic.conf lineinfile: - path: /etc/atomic.conf - line: "no_proxy={{ openshift.common.no_proxy | default('') }}" + dest: /etc/atomic.conf + line: "no_proxy: {{ openshift.common.no_proxy | default('') }}" when: - openshift.common.no_proxy is defined - openshift.common.no_proxy != '' |