Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions roles/container_runtime/tasks/common/setup_docker_symlink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
failed_when:
- results.rc != 0

- name: ensure the unmount of top level mount point
mount:
path: "{{ docker_default_storage_path }}"
state: unmounted

- name: "Set the selinux context on {{ docker_alt_storage_path }}"
command: "semanage fcontext -a -e {{ docker_default_storage_path }} {{ docker_alt_storage_path }}"
register: results
Expand All @@ -26,6 +21,11 @@
- name: "restorecon the {{ docker_alt_storage_path }}"
command: "restorecon -r {{ docker_alt_storage_path }}"

- name: ensure the unmount of top level mount point
mount:
path: "{{ docker_default_storage_path }}"
state: unmounted

- name: Remove the old docker location
file:
state: absent
Expand Down