diff --git a/CHANGES/1488.bugfix b/CHANGES/1488.bugfix new file mode 100644 index 000000000..1f037d1bc --- /dev/null +++ b/CHANGES/1488.bugfix @@ -0,0 +1 @@ +Copy static files instead of symlink to avoid pulp failing to start due to stale symlinks after upgrade diff --git a/roles/pulp_common/handlers/main.yml b/roles/pulp_common/handlers/main.yml index e1a68fb1d..9a8c0d2ca 100644 --- a/roles/pulp_common/handlers/main.yml +++ b/roles/pulp_common/handlers/main.yml @@ -30,7 +30,7 @@ - pulp_install_selinux_policies|bool or pulp_install_selinux_policies == "auto" - name: Collect static content - command: "{{ pulp_django_admin_path }} collectstatic --clear --noinput --link {{ pulp_collectstatic_ignore_list }}" + command: "{{ pulp_django_admin_path }} collectstatic --clear --noinput {{ pulp_collectstatic_ignore_list }}" # When run against the same FS, we do not want the multiple nodes' # commands to conflict with eachother. It sometimes happens. throttle: 1