Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Adds 'collectstatic' task to the configuration of Pulp
Browse files Browse the repository at this point in the history
  • Loading branch information
dkliban committed Jan 16, 2019
1 parent ddfb88d commit f9dfe96
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/pulp3/tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@
force: no

become: true

- name: Collect static content for docs and browsable API
command: '{{ pulp_install_dir }}/bin/pulp-manager collectstatic --noinput --link'
register: staticresult
changed_when: "staticresult.stdout is not search('\n0 static files')"
become: true
become_user: '{{ pulp_user }}'

0 comments on commit f9dfe96

Please sign in to comment.