fix: added condition for selinux related tasks
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
- name: selinux stuff for xrdp
|
- name: selinux stuff for xrdp
|
||||||
shell: "chcon --type=bin_t /usr/sbin/xrdp; chcon --type=bin_t /usr/sbin/xrdp-sesman"
|
shell: "chcon --type=bin_t /usr/sbin/xrdp; chcon --type=bin_t /usr/sbin/xrdp-sesman"
|
||||||
|
when: ansible_selinux.status == "enabled"
|
||||||
|
|
||||||
- name: Enable and start xrdp service
|
- name: Enable and start xrdp service
|
||||||
service:
|
service:
|
||||||
|
|||||||
Reference in New Issue
Block a user