diff options
author | Steve Milner <smilner@redhat.com> | 2017-06-05 12:28:34 -0400 |
---|---|---|
committer | Steve Milner <smilner@redhat.com> | 2017-06-05 12:28:34 -0400 |
commit | 7c6ae4760ca0c8ac5fcdd5bd79bd8c904d10306e (patch) | |
tree | 0813a3ab2a2e20279054ba7d1626b44060a24985 /roles/docker/tasks | |
parent | ef53abf24b5e894c08a9ee2927eb6a2de5449f82 (diff) | |
download | openshift-7c6ae4760ca0c8ac5fcdd5bd79bd8c904d10306e.tar.gz openshift-7c6ae4760ca0c8ac5fcdd5bd79bd8c904d10306e.tar.bz2 openshift-7c6ae4760ca0c8ac5fcdd5bd79bd8c904d10306e.tar.xz openshift-7c6ae4760ca0c8ac5fcdd5bd79bd8c904d10306e.zip |
rename daemon.json to container-daemon.json
The container-engine build has moved daemon.json to
container-daemon.json to avoid collision. This change updates the
template file location to follow suit.
Diffstat (limited to 'roles/docker/tasks')
-rw-r--r-- | roles/docker/tasks/systemcontainer_docker.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/roles/docker/tasks/systemcontainer_docker.yml b/roles/docker/tasks/systemcontainer_docker.yml index f0f5a40dd..650f06f86 100644 --- a/roles/docker/tasks/systemcontainer_docker.yml +++ b/roles/docker/tasks/systemcontainer_docker.yml @@ -130,8 +130,8 @@ dest: "{{ container_engine_systemd_dir }}/custom.conf" src: systemcontainercustom.conf.j2 -# Set local versions of facts that must be in json format for daemon.json -# NOTE: When jinja2.9+ is used the daemon.json file can move to using tojson +# Set local versions of facts that must be in json format for container-daemon.json +# NOTE: When jinja2.9+ is used the container-daemon.json file can move to using tojson - set_fact: l_docker_insecure_registries: "{{ docker_insecure_registries | default([]) | to_json }}" l_docker_log_options: "{{ docker_log_options | default({}) | to_json }}" @@ -139,10 +139,12 @@ l_docker_blocked_registries: "{{ docker_blocked_registries | default([]) | to_json }}" l_docker_selinux_enabled: "{{ docker_selinux_enabled | default(true) | to_json }}" -# Configure container-engine using the daemon.json file +# Configure container-engine using the container-daemon.json file +# NOTE: daemon.json and container-daemon.json have been seperated to avoid +# collision. - name: Configure Container Engine template: - dest: "{{ docker_conf_dir }}/daemon.json" + dest: "{{ docker_conf_dir }}/container-daemon.json" src: daemon.json # Enable and start the container-engine service |