Skip to content

Commit d28a4ff

Browse files
committed
Replace SELinux community module with Red Hat provided module.
Part of: Jira: RHEL-120542
1 parent d5f116f commit d28a4ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.ansible-lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ mock_modules:
3131
- community.general.archive
3232
- community.general.yum_versionlock
3333
- community.general.rhsm_repository
34-
- ansible.posix.selinux
34+
- redhat.rhel_system_roles.selinux
3535
- ansible.posix.mount
3636

3737
# mock_roles:

roles/upgrade/tasks/leapp-post-upgrade-selinux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# failed_when: ausearch_results.stdout != "<no matches>"
1010

1111
- name: leapp-post-upgrade-selinux | SELinux mode is set to {{ selinux_mode }}
12-
ansible.posix.selinux:
12+
redhat.rhel_system_roles.selinux:
1313
policy: targeted
1414
state: "{{ selinux_mode }}"
1515
register: selinux_results
@@ -22,7 +22,7 @@
2222
when: selinux_results.reboot_required
2323

2424
- name: leapp-post-upgrade-selinux | Verify SELinux is set to {{ selinux_mode }}
25-
ansible.posix.selinux:
25+
redhat.rhel_system_roles.selinux:
2626
policy: targeted
2727
state: "{{ selinux_mode }}"
2828
check_mode: true

0 commit comments

Comments
 (0)