Adjust YAML files (#10233)

Adjust YAML files.
This commit is contained in:
Felix Fontein 2025-06-15 09:13:16 +02:00 committed by GitHub
commit eaa5e07b28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
247 changed files with 7318 additions and 7375 deletions

View file

@ -38,8 +38,8 @@
- assert:
that:
- first is changed
- first.setype == 'httpd_sys_content_t'
- first is changed
- first.setype == 'httpd_sys_content_t'
- name: Set SELinux file context of foo/bar (again)
sefcontext:
@ -51,8 +51,8 @@
- assert:
that:
- second is not changed
- second.setype == 'httpd_sys_content_t'
- second is not changed
- second.setype == 'httpd_sys_content_t'
- name: Change SELinux file context of foo/bar
sefcontext:
@ -64,8 +64,8 @@
- assert:
that:
- third is changed
- third.setype == 'unlabeled_t'
- third is changed
- third.setype == 'unlabeled_t'
- name: Change SELinux file context of foo/bar (again)
sefcontext:
@ -77,8 +77,8 @@
- assert:
that:
- fourth is not changed
- fourth.setype == 'unlabeled_t'
- fourth is not changed
- fourth.setype == 'unlabeled_t'
- name: Delete SELinux file context of foo/bar
sefcontext:
@ -90,8 +90,8 @@
- assert:
that:
- fifth is changed
- fifth.setype == 'httpd_sys_content_t'
- fifth is changed
- fifth.setype == 'httpd_sys_content_t'
- name: Delete SELinux file context of foo/bar (again)
sefcontext:
@ -103,8 +103,8 @@
- assert:
that:
- sixth is not changed
- sixth.setype == 'unlabeled_t'
- sixth is not changed
- sixth.setype == 'unlabeled_t'
- name: Set SELinux file context path substitution of foo
sefcontext:
@ -116,8 +116,8 @@
- assert:
that:
- subst_first is changed
- subst_first.substitute == '/home'
- subst_first is changed
- subst_first.substitute == '/home'
- name: Set SELinux file context path substitution of foo (again)
sefcontext:
@ -129,8 +129,8 @@
- assert:
that:
- subst_second is not changed
- subst_second.substitute == '/home'
- subst_second is not changed
- subst_second.substitute == '/home'
- name: Change SELinux file context path substitution of foo
sefcontext:
@ -142,8 +142,8 @@
- assert:
that:
- subst_third is changed
- subst_third.substitute == '/boot'
- subst_third is changed
- subst_third.substitute == '/boot'
- name: Change SELinux file context path substitution of foo (again)
sefcontext:
@ -155,8 +155,8 @@
- assert:
that:
- subst_fourth is not changed
- subst_fourth.substitute == '/boot'
- subst_fourth is not changed
- subst_fourth.substitute == '/boot'
- name: Try to delete non-existing SELinux file context path substitution of foo
sefcontext:
@ -168,8 +168,8 @@
- assert:
that:
- subst_fifth is not changed
- subst_fifth.substitute == '/dev'
- subst_fifth is not changed
- subst_fifth.substitute == '/dev'
- name: Delete SELinux file context path substitution of foo
sefcontext:
@ -181,8 +181,8 @@
- assert:
that:
- subst_sixth is changed
- subst_sixth.substitute == '/boot'
- subst_sixth is changed
- subst_sixth.substitute == '/boot'
- name: Delete SELinux file context path substitution of foo (again)
sefcontext:
@ -194,8 +194,8 @@
- assert:
that:
- subst_seventh is not changed
- subst_seventh.substitute == '/boot'
- subst_seventh is not changed
- subst_seventh.substitute == '/boot'
- name: Set SELinux file context path substitution of foo
sefcontext:
@ -207,8 +207,8 @@
- assert:
that:
- subst_eighth is changed
- subst_eighth.substitute == '/home'
- subst_eighth is changed
- subst_eighth.substitute == '/home'
- name: Delete SELinux file context path substitution of foo
sefcontext:
@ -219,7 +219,7 @@
- assert:
that:
- subst_ninth is changed
- subst_ninth is changed
- name: Delete SELinux file context path substitution of foo (again)
sefcontext:
@ -230,4 +230,4 @@
- assert:
that:
- subst_tenth is not changed
- subst_tenth is not changed