Fix issue with when statement in docker-registry.yaml.
The when statement was duplicated in the docker-registry service, plus the equals operator was wrong. Closes-Bug:#1808974 Change-Id: I1650acfd67b87be18ab03385ce35cccdf708f046
This commit is contained in:
parent
15d34de247
commit
8b72e4dac0
@ -67,11 +67,10 @@ outputs:
|
||||
upgrade_tasks:
|
||||
- block:
|
||||
- name: Install docker packages on upgrade if missing
|
||||
when: step|int == 3
|
||||
package: name=docker-distribution state=latest
|
||||
- set_fact: *docker_vars
|
||||
- name: Reconfigure Docker if needed
|
||||
include_role:
|
||||
name: container-registry
|
||||
tasks_from: docker
|
||||
when: step|int = 3
|
||||
when: step|int == 3
|
||||
|
Loading…
Reference in New Issue
Block a user