f6ce71d308
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/linux-system-roles.git#490700ef996ddf949520cb4c0fedd290cc657aed
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 035a9b2db26af071a95e02a0af08bcbb73b69abf Mon Sep 17 00:00:00 2001
|
|
From: Florian Bachmann <fbachmann.public@gmail.com>
|
|
Date: Fri, 5 Feb 2021 11:48:53 +0100
|
|
Subject: [PATCH] fix incorrect default value (there is no variable named
|
|
"present")
|
|
|
|
---
|
|
tasks/main.yml | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/tasks/main.yml b/tasks/main.yml
|
|
index afbe81f..702e369 100644
|
|
--- a/tasks/main.yml
|
|
+++ b/tasks/main.yml
|
|
@@ -118,7 +118,7 @@
|
|
ports: "{{ item.ports }}"
|
|
proto: "{{ item.proto | default('tcp') }}"
|
|
setype: "{{ item.setype }}"
|
|
- state: "{{ item.state | default(present) }}"
|
|
+ state: "{{ item.state | default('present') }}"
|
|
with_items: "{{ selinux_ports }}"
|
|
|
|
- name: Set linux user to SELinux user mapping
|
|
@@ -126,6 +126,6 @@
|
|
login: "{{ item.login }}"
|
|
seuser: "{{ item.seuser }}"
|
|
serange: "{{ item.serange | default('s0') }}"
|
|
- state: "{{ item.state | default(present) }}"
|
|
+ state: "{{ item.state | default('present') }}"
|
|
reload: "{{ item.reload | default(False) }}"
|
|
with_items: "{{ selinux_logins }}"
|
|
--
|
|
2.29.2
|
|
|