Fix SELinux policy filenames

Within the SELinux policy file itself, the policy is referenced
as `osa-neutron`, but the filename for the policy did not match.
This patch fixes the filenames to match the policy name.

Closes-Bug: 1742552
Change-Id: I52901ac48f9a95d0fe6b010f5940b5c39fce1aba
This commit is contained in:
Major Hayden 2018-01-31 12:45:46 -06:00
parent a6ffd476a5
commit 23d9cac765
No known key found for this signature in database
GPG Key ID: 737051E0C1011FB1
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@
- name: Deploy SELinux policy source file
copy:
src: "osa-neutron-selinux.te"
src: "osa-neutron.te"
dest: "/tmp/osa-neutron-selinux/"
owner: root
group: root
@ -46,9 +46,9 @@
args:
chdir: "/tmp/osa-neutron-selinux/"
with_items:
- checkmodule -M -m -o osa-neutron-selinux.mod osa-neutron-selinux.te
- semodule_package -o osa-neutron-selinux.pp -m osa-neutron-selinux.mod
- semodule -i osa-neutron-selinux.pp
- checkmodule -M -m -o osa-neutron.mod osa-neutron.te
- semodule_package -o osa-neutron.pp -m osa-neutron.mod
- semodule -i osa-neutron.pp
tags:
- skip_ansible_lint