docker install being skipped

Bug #1540446 reported by bch789
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
docker (Juju Charms Collection)
New
Undecided
Unassigned

Bug Description

When trying install docker, it seems to be skipped both latest and universe. It seems that the conditions on playbooks/installation-status.yaml

- name: check for docker.io
  shell: "dpkg -l docker.io | grep docker.io | cut -d' ' -f1"
  register: universe_check

# Updated due to bug #24
- name: check for latest-docker
  shell: "dpkg -l docker-engine | grep docker-engine | cut -d' ' -f1"
  register: latest_check

are both going false since docker is not installed but when it goes to playbooks/config-changed.yaml and makes the validations:

- name: enforce latest docker
  when: latest == true and latest_installed == "False"
  include: latest-docker.yaml

- name: enforce universe docker
  when: latest == false and universe_installed == "False"
  include: universe-docker.yaml

both are skipped, even though docker is not installed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.