diff --git a/roles/hostpath-provisioner/tasks/main.yml b/roles/hostpath-provisioner/tasks/main.yml index b057c33..8d801d4 100644 --- a/roles/hostpath-provisioner/tasks/main.yml +++ b/roles/hostpath-provisioner/tasks/main.yml @@ -25,7 +25,7 @@ - name: Copy the PersistentVolumeClaim object definition copy: src=registry-storage-pvc.yaml dest={{tempfile.path}}/registry-storage-pvc.yaml - when: hostpath_provisioner_options.patch_docker_registry + when: hostpath_provisioner_patch_docker_registry - name: Create a PersistentVolumeClaim for the docker-registry command: oc create -n default -f {{tempfile.path}}/registry-storage-pvc.yaml