Make playbooks idempotent

removing docker-registry also removed docker-distribution, so the
playbook wasn't idempotent.
This commit is contained in:
Emilien Macchi 2018-04-14 19:12:59 -07:00
parent cb2813534e
commit cd1de0d7c8
1 changed files with 0 additions and 6 deletions

View File

@ -1,12 +1,6 @@
---
# tasks file for ansible-role-container-registry
# Required to have a v2 registry
- name: ensure the Docker Registry is absent
yum:
name: docker-registry
state: absent
- name: ensure docker-distribution is installed
yum:
name: docker-distribution