Mark Goddard
09754df82f
Don't disable SELinux if it is not installed
...
Kayobe has a role to disable SELinux. Some systems do not have SELinux
installed (this can be reproduced by removing the selinux-policy package
and removing /etc/selinux/config). This causes the selinux
Ansible module to fail, since it can't write to /etc/selinux/config:
Please install SELinux-policy package, if this package is not
installed previously.
This change fixes the issue by only disabling SELinux if the config file
exists.
Change-Id: I25c7282c1e8dcdee3e7feddef9d66ca5beeb1bce
Story: 2007704
Task: 39820
2020-05-28 19:34:20 +01:00
..
2020-05-28 10:30:07 +01:00
2020-05-28 10:25:51 +01:00
2020-05-28 19:34:20 +01:00
2017-11-02 12:12:07 +00:00
2020-05-28 10:25:51 +01:00
2020-05-28 10:25:51 +01:00
2020-05-28 10:25:51 +01:00
2019-08-15 11:01:49 +00:00
2019-10-21 14:16:20 +01:00
2020-05-28 10:25:51 +01:00
2017-12-19 16:58:21 +00:00
2019-12-09 10:21:20 +00:00
2017-12-13 11:30:26 +00:00
2018-09-05 13:52:27 +01:00
2017-11-21 17:50:32 +00:00
2019-01-18 12:22:38 +00:00
2019-01-18 12:22:38 +00:00
2017-12-01 11:21:00 +00:00
2017-12-19 16:58:21 +00:00
2017-12-19 16:58:21 +00:00
2018-03-20 10:43:02 +00:00
2017-12-19 16:58:21 +00:00
2020-02-27 11:10:29 +00:00
2020-05-28 10:25:51 +01:00
2019-10-25 17:08:56 +01:00
2020-03-26 14:34:07 +00:00
2019-10-25 17:08:56 +01:00
2017-05-29 16:52:17 +01:00
2017-05-29 16:52:17 +01:00
2017-05-29 16:52:17 +01:00
2017-12-19 16:58:21 +00:00
2020-05-28 10:25:51 +01:00
2019-11-05 11:59:28 +01:00
2020-05-28 10:25:51 +01:00
2019-06-28 16:34:24 +01:00
2019-12-09 10:21:20 +00:00
2020-03-26 14:34:07 +00:00
2020-05-28 10:25:51 +01:00
2017-12-19 16:58:21 +00:00
2020-04-08 16:56:32 +00:00
2020-05-28 10:25:51 +01:00
2020-04-16 20:44:34 +01:00
2020-05-28 10:25:51 +01:00
2019-11-11 09:47:20 +00:00
2018-11-06 11:34:11 +00:00
2020-05-28 10:25:51 +01:00
2019-06-28 16:34:24 +01:00
2020-03-18 10:28:33 +00:00
2020-04-16 20:44:34 +01:00
2020-05-28 10:25:51 +01:00
2020-05-20 15:49:51 +00:00
2019-01-11 18:38:34 +00:00
2019-03-26 15:16:20 +00:00
2017-11-02 12:12:07 +00:00
2020-05-18 11:23:22 +00:00
2020-03-26 14:34:07 +00:00
2019-06-28 16:34:24 +01:00
2019-06-28 16:34:24 +01:00
2019-08-15 11:01:49 +00:00
2018-08-20 17:08:46 +01:00
2020-03-26 14:34:07 +00:00
2020-05-28 10:25:51 +01:00
2019-06-28 16:34:24 +01:00
2020-05-28 10:25:51 +01:00
2020-02-21 15:53:07 +00:00
2020-05-28 10:25:51 +01:00
2020-05-28 10:25:51 +01:00
2019-08-12 18:14:49 +01:00
2019-11-28 16:32:30 +00:00
2020-05-28 10:25:51 +01:00
2019-06-28 16:34:24 +01:00
2019-02-04 09:21:07 +00:00
2020-03-03 20:46:32 +00:00
2020-02-20 15:28:56 +00:00
2020-05-28 10:25:51 +01:00
2018-12-10 10:18:57 +00:00
2018-01-02 12:59:23 +00:00
2020-05-28 10:25:51 +01:00
2019-11-28 16:32:30 +00:00
2019-08-02 12:10:16 +01:00
2019-01-29 18:55:50 +00:00
2020-05-28 10:25:51 +01:00
2017-12-19 16:58:21 +00:00
2017-12-19 16:58:21 +00:00
2019-04-24 12:40:20 +00:00
2019-04-24 12:40:20 +00:00
2018-07-13 19:36:21 +01:00
2020-05-28 10:25:51 +01:00
2017-12-19 16:58:21 +00:00
2020-05-20 15:49:51 +00:00