diff --git a/roles/openshift_persistent_volumes/README.md b/roles/openshift_persistent_volumes/README.md index c8883719ec0..0407d6ef1e2 100644 --- a/roles/openshift_persistent_volumes/README.md +++ b/roles/openshift_persistent_volumes/README.md @@ -11,11 +11,10 @@ Role Variables From this role: -| Name | Default value | | -|------------------------------------------|------------------|-------------------------------------------------------------------------------------| -| persistent_volumes | [] | List of persistent volume dictionaries, keys: name, capacity, access_modes, storage | -| persistent_volume_claims | [] | List of persistent volume claim dictionaries, keys: name, capacity, access_modes | -| openshift_persistentlocalstorage_enabled | UNDEF (Optional) | | +| Name | Default value | | +|--------------------------|---------------|-------------------------------------------------------------------------------------| +| persistent_volumes | [] | List of persistent volume dictionaries, keys: name, capacity, access_modes, storage | +| persistent_volume_claims | [] | List of persistent volume claim dictionaries, keys: name, capacity, access_modes | Dependencies @@ -43,7 +42,6 @@ Example Playbook capacity: "5Gi" access_modes: - "ReadWriteMany" - openshift_persistentlocalstorage_enabled: True roles: - role: openshift_persistent_volumes ``` diff --git a/roles/openshift_persistent_volumes/tasks/main.yml b/roles/openshift_persistent_volumes/tasks/main.yml index 144c359c4c1..e431e978c3c 100644 --- a/roles/openshift_persistent_volumes/tasks/main.yml +++ b/roles/openshift_persistent_volumes/tasks/main.yml @@ -48,7 +48,3 @@ name: "{{ mktemp.stdout }}" state: absent changed_when: False - -- name: Configure PersistentLocalStorage - import_tasks: persistent_local_storage.yml - when: "{{ openshift_persistentlocalstorage_enabled | default(False) }}"