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

Commit

Permalink
Flush the handlers right after the SELinux policy is compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
dkliban committed Jul 16, 2021
1 parent d03482b commit f14af64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/8620.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ensures that the pulpcore SELinux module is installed immediately after it is compiled.
3 changes: 3 additions & 0 deletions roles/pulp_common/tasks/install_pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
# when permissive or enforcing. That would be stored in .mode & .config_mode
- ansible_facts.selinux.status == "enabled"

- name: Flush handlers
meta: flush_handlers

- name: Create pulp install dir
file:
path: '{{ pulp_install_dir }}'
Expand Down

0 comments on commit f14af64

Please sign in to comment.