Skip to content

Commit

Permalink
Correct some incoming bugs with relation to setting the docker_version
Browse files Browse the repository at this point in the history
set_fact stanza

Adds a yaml= block when calling docker_opts
  • Loading branch information
Charles Butler committed Jun 2, 2015
1 parent 02dc0a5 commit 70718a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions playbooks/installation-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@

- set_fact:
docker_version_name: docker
when: latest_installed
when: latest_installed == "True"

- set_fact:
docker_version_name: docker.io
when: universe_installed
when: universe_installed == "True"

5 changes: 3 additions & 2 deletions playbooks/network-relation-changed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@
creates: .flannel-mtu

- name: set subnet daemon option
docker_opts: action=set key=bip val="{{ flannel_subnet }}"
docker_opts: action=set key=bip val="{{ flannel_subnet }}" yaml="{{opts_yaml}}"
when: flannel_subnet != ''
notify:
- calculate docker opts
- render docker defaults
- restart docker

- name: set subnet daemon option
docker_opts: action=set key=mtu val="{{ flannel_mtu }}"
docker_opts: action=set key=mtu val="{{ flannel_mtu }}" yaml="{{opts_yaml}}"

when: flannel_mtu != ''
notify:
- calculate docker opts
Expand Down

0 comments on commit 70718a3

Please sign in to comment.