openqa: use seboolean module instead of re-inventing it
This commit is contained in:
parent
8f8686d43d
commit
9ee4338308
1 changed files with 1 additions and 8 deletions
|
@ -140,16 +140,9 @@
|
|||
- openqa-websockets
|
||||
- openqa-gru
|
||||
|
||||
- name: Check if SELinux policy is set
|
||||
shell: "getsebool httpd_can_network_connect"
|
||||
register: getsebool
|
||||
always_run: true
|
||||
changed_when: "1 != 1"
|
||||
|
||||
# This is using a big hammer until #1277312 is resolved
|
||||
- name: Allow Apache to connect to openQA
|
||||
command: "setsebool -P httpd_can_network_connect on"
|
||||
when: getsebool.stdout.find('--> on') == -1
|
||||
seboolean: name=httpd_can_network_connect state=yes persistent=yes
|
||||
|
||||
- name: Wait for openQA to be fully started
|
||||
pause: seconds=5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue