Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading

Hello,

by using “Easy Install” to install Frappe ERPNext I am getting this error:

TASK [frappe_selinux : Check enabled SELinux modules] *************************************************************************************************************************************************************
    fatal: [localhost]: FAILED! => {"changed": true, "cmd": "semanage module -l", "delta": "0:00:02.254885", "end": "2019-03-08 10:07:33.398287", "msg": "non-zero return code", "rc": 1, "start": "2019-03-08 10:07:31.143402", "stderr": "libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).\nOSError: No such file or directory", "stderr_lines": ["libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).", "OSError: No such file or directory"], "stdout": "", "stdout_lines": []}
            to retry, use: --limit @/tmp/.bench/playbooks/site.retry

I am using root account.

Any help, please?

Jaime

sudo python install.py --production --user frappe
..............
...........
.......
....
Saving to: ‘get-pip.py’

100%[=============================================================================================================================>] 1,709,825   --.-K/s   in 0.03s   

2019-05-20 23:01:08 (54.3 MB/s) - ‘get-pip.py’ saved [1709825/1709825]

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting pip
  Downloading https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl (1.4MB)
     |████████████████████████████████| 1.4MB 28.3MB/s 
Collecting wheel
  Downloading https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f227dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl
Installing collected packages: pip, wheel
Successfully installed pip-19.1.1 wheel-0.33.4
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
     |████████████████████████████████| 583kB 31.9MB/s 
Collecting requests
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
     |████████████████████████████████| 61kB 32.8MB/s 
Collecting cryptography
  Downloading https://files.pythonhosted.org/packages/c3/c1/cf8665c955c9393e9ff0872ba6cd3dc6f46ef915e94afcf6e0410508ca69/cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl (2.3MB)
     |████████████████████████████████| 2.3MB 50.2MB/s 
Requirement already up-to-date: pip in /usr/lib/python2.7/site-packages (19.1.1)
Collecting chardet<3.1.0,>=3.0.2 (from requests)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
     |████████████████████████████████| 143kB 82.0MB/s 
Collecting idna<2.9,>=2.5 (from requests)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
     |████████████████████████████████| 61kB 30.0MB/s 
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests)
  Downloading https://files.pythonhosted.org/packages/39/ec/d93dfc69617a028915df914339ef66936ea976ef24fa62940fd86ba0326e/urllib3-1.25.2-py2.py3-none-any.whl (150kB)
     |████████████████████████████████| 153kB 65.9MB/s 
Collecting certifi>=2017.4.17 (from requests)
  Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB)
     |████████████████████████████████| 163kB 72.3MB/s 
Collecting enum34; python_version < "3" (from cryptography)
  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography)
  Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
     |████████████████████████████████| 102kB 40.2MB/s 
Collecting cffi!=1.11.3,>=1.8 (from cryptography)
  Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl (415kB)
     |████████████████████████████████| 419kB 72.7MB/s 
Collecting six>=1.4.1 (from cryptography)
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: ipaddress; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography) (1.0.16)
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography)
  Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
     |████████████████████████████████| 163kB 75.4MB/s 
Building wheels for collected packages: pycparser
  Building wheel for pycparser (setup.py) ... done
  Stored in directory: /root/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511
Successfully built pycparser
Installing collected packages: setuptools, chardet, idna, urllib3, certifi, requests, enum34, asn1crypto, pycparser, cffi, six, cryptography
  Found existing installation: setuptools 0.9.8
    Uninstalling setuptools-0.9.8:
      Successfully uninstalled setuptools-0.9.8
Successfully installed asn1crypto-0.24.0 certifi-2019.3.9 cffi-1.12.3 chardet-3.0.4 cryptography-2.6.1 enum34-1.1.6 idna-2.8 pycparser-2.19 requests-2.22.0 setuptools-41.0.1 six-1.12.0 urllib3-1.25.2
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already up-to-date: cryptography in /usr/lib64/python2.7/site-packages (2.6.1)
Collecting ansible
  Downloading https://files.pythonhosted.org/packages/17/c9/d379b76ecaa42f4ee08b01c365e9ed1be0b302ff8a26eef120d481b144fa/ansible-2.8.0.tar.gz (14.3MB)
     |████████████████████████████████| 14.3MB 28.8MB/s 
Requirement already satisfied, skipping upgrade: enum34; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography) (1.1.6)
Requirement already satisfied, skipping upgrade: asn1crypto>=0.21.0 in /usr/lib/python2.7/site-packages (from cryptography) (0.24.0)
Requirement already satisfied, skipping upgrade: cffi!=1.11.3,>=1.8 in /usr/lib64/python2.7/site-packages (from cryptography) (1.12.3)
Requirement already satisfied, skipping upgrade: six>=1.4.1 in /usr/lib/python2.7/site-packages (from cryptography) (1.12.0)
Requirement already satisfied, skipping upgrade: ipaddress; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography) (1.0.16)
Collecting jinja2 (from ansible)
  Downloading https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl (124kB)
     |████████████████████████████████| 133kB 59.4MB/s 
Collecting PyYAML (from ansible)
  Downloading https://files.pythonhosted.org/packages/9f/2c/9417b5c774792634834e730932745bc09a7d36754ca00acf1ccd1ac2594d/PyYAML-5.1.tar.gz (274kB)
     |████████████████████████████████| 276kB 78.5MB/s 
Requirement already satisfied, skipping upgrade: pycparser in /usr/lib/python2.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography) (2.19)
Collecting MarkupSafe>=0.23 (from jinja2->ansible)
  Downloading https://files.pythonhosted.org/packages/fb/40/f3adb7cf24a8012813c5edb20329eb22d5d8e2a0ecf73d21d6b85865da11/MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl
Building wheels for collected packages: ansible, PyYAML
  Building wheel for ansible (setup.py) ... done
  Stored in directory: /root/.cache/pip/wheels/31/ab/70/df86c93df35db7378d7bf40e30e1f2b0c43fb179cda1d940b3
  Building wheel for PyYAML (setup.py) ... done
  Stored in directory: /root/.cache/pip/wheels/ad/56/bc/1522f864feb2a358ea6f1a92b4798d69ac783a28e80567a18b
Successfully built ansible PyYAML
Installing collected packages: MarkupSafe, jinja2, PyYAML, ansible
Successfully installed MarkupSafe-1.1.1 PyYAML-5.1 ansible-2.8.0 jinja2-2.10.1
Cloning into '/tmp/.bench'...
remote: Enumerating objects: 262, done.
remote: Counting objects: 100% (262/262), done.
remote: Compressing objects: 100% (210/210), done.
remote: Total 262 (delta 16), reused 150 (delta 7), pack-reused 0
Receiving objects: 100% (262/262), 122.08 KiB | 0 bytes/s, done.
Resolving deltas: 100% (16/16), done.
 [WARNING]: No inventory was parsed, only implicit localhost is available

 [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'


PLAY [localhost] ******************************************************************************************************************************************************
TASK [Gathering Facts] ************************************************************************************************************************************************
ok: [localhost]

TASK [Create user] ****************************************************************************************************************************************************
changed: [localhost]

TASK [Set home folder perms] ******************************************************************************************************************************************
changed: [localhost]

TASK [Set /tmp/.bench folder perms] ***********************************************************************************************************************************
changed: [localhost]

TASK [Change default shell to bash] ***********************************************************************************************************************************
changed: [localhost]

PLAY RECAP ************************************************************************************************************************************************************
localhost                  : ok=5    changed=4    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

Please enter mysql root password: 
Re-enter mysql root password: 
Please enter the default Administrator user password: 
Re-enter Administrator password: 
Passwords saved at ~/passwords.txt
 [WARNING]: No inventory was parsed, only implicit localhost is available

 [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'


PLAY [localhost] ******************************************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************************************
ok: [localhost]

TASK [common : include_tasks] *****************************************************************************************************************************************
skipping: [localhost]

TASK [common : include_tasks] *****************************************************************************************************************************************
included: /tmp/.bench/playbooks/roles/common/tasks/redhat_family.yml for localhost

TASK [common : Install IUS repo for python 3.6] ***********************************************************************************************************************
changed: [localhost]

TASK [common : Setup prerequisites using yum] *************************************************************************************************************************
[DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying 
`name: "{{ item }}"`, please use `name: ['bzip2-devel', 'cronie', 'dnsmasq', 'freetype-devel', 'git', 'htop', 'lcms2-devel', 'libjpeg-devel', 'libtiff-devel', 
'libffi-devel', 'libwebp-devel', 'libXext', 'libXrender', 'libzip-devel', 'libffi-devel', 'ntp', 'openssl-devel', 'postfix', 'python36u', 'python-devel', 'python-
setuptools', 'python-pip', 'redis', 'screen', 'sudo', 'tcl-devel', 'tk-devel', 'vim', 'which', 'xorg-x11-fonts-75dpi', 'xorg-x11-fonts-Type1', 'zlib-devel', 'openssl-
devel', 'openldap-devel', 'libselinux-python', 'cups-libs']` and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled 
by setting deprecation_warnings=False in ansible.cfg.
changed: [localhost] => (item=[u'bzip2-devel', u'cronie', u'dnsmasq', u'freetype-devel', u'git', u'htop', u'lcms2-devel', u'libjpeg-devel', u'libtiff-devel', u'libffi-devel', u'libwebp-devel', u'libXext', u'libXrender', u'libzip-devel', u'libffi-devel', u'ntp', u'openssl-devel', u'postfix', u'python36u', u'python-devel', u'python-setuptools', u'python-pip', u'redis', u'screen', u'sudo', u'tcl-devel', u'tk-devel', u'vim', u'which', u'xorg-x11-fonts-75dpi', u'xorg-x11-fonts-Type1', u'zlib-devel', u'openssl-devel', u'openldap-devel', u'libselinux-python', u'cups-libs'])
TASK [locale : Check current locale] **********************************************************************************************************************************
skipping: [localhost]

TASK [locale : Set Locale] ********************************************************************************************************************************************
skipping: [localhost]

TASK [locale : Set keymap] ********************************************************************************************************************************************
skipping: [localhost]

TASK [locale : Set Locale as en_US] ***********************************************************************************************************************************
changed: [localhost] => (item=LC_ALL=en_US.UTF-8)
changed: [localhost] => (item=LC_CTYPE=en_US.UTF-8)
changed: [localhost] => (item=LANG=en_US.UTF-8)

TASK [mariadb : Add repo file] ****************************************************************************************************************************************
changed: [localhost]

TASK [mariadb : Install MariaDB] **************************************************************************************************************************************
[DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying 
`name: "{{ item }}"`, please use `name: ['MariaDB-server', 'MariaDB-client']` and remove the loop. This feature will be removed in version 2.11. Deprecation warnings 
can be disabled by setting deprecation_warnings=False in ansible.cfg.
changed: [localhost] => (item=[u'MariaDB-server', u'MariaDB-client'])

TASK [mariadb : Install MySQLdb Python package for secure installations.] *********************************************************************************************
changed: [localhost]

TASK [mariadb : Add repo file] ****************************************************************************************************************************************
skipping: [localhost]

TASK [mariadb : Add repo key] *****************************************************************************************************************************************
skipping: [localhost]

TASK [mariadb : Update apt cache] *************************************************************************************************************************************
skipping: [localhost]

TASK [mariadb : Unattended package installation] **********************************************************************************************************************
skipping: [localhost]

TASK [mariadb : Install MariaDB] **************************************************************************************************************************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying 
`pkg: "{{ item }}"`, please use `pkg: ['mariadb-server', 'mariadb-client', 'libmariadbclient18']` and remove the loop. This feature will be removed in version 2.11. 
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => (item=[]) 

TASK [mariadb : Install MySQLdb Python package for secure installations.] *********************************************************************************************
skipping: [localhost]

TASK [mariadb : Add repo file] ****************************************************************************************************************************************
skipping: [localhost]

TASK [mariadb : Add repo key] *****************************************************************************************************************************************
skipping: [localhost]
TASK [mariadb : Update apt cache] *************************************************************************************************************************************
skipping: [localhost]

TASK [mariadb : Unattended package installation] **********************************************************************************************************************
skipping: [localhost]

TASK [mariadb : Install MariaDB] **************************************************************************************************************************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying 
`pkg: "{{ item }}"`, please use `pkg: ['mariadb-server', 'mariadb-client', 'libmariadbclient18']` and remove the loop. This feature will be removed in version 2.11. 
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => (item=[]) 

TASK [mariadb : Install MySQLdb Python package for secure installations.] *********************************************************************************************
skipping: [localhost]

TASK [mariadb : Add configuration] ************************************************************************************************************************************
changed: [localhost]

TASK [mariadb : include_tasks] ****************************************************************************************************************************************
skipping: [localhost]

TASK [mariadb : Add configuration] ************************************************************************************************************************************
skipping: [localhost]

TASK [mariadb : Add additional conf for MariaDB 10.2 in mariadb.conf.d] ***********************************************************************************************
skipping: [localhost]

TASK [mariadb : Add additional conf for MariaDB 10.2 in mariadb.conf.d] ***********************************************************************************************
skipping: [localhost]

TASK [mariadb : Start and enable service] *****************************************************************************************************************************
changed: [localhost]

TASK [mariadb : debug] ************************************************************************************************************************************************
ok: [localhost] => {
    "msg": "fo7bR84mjX4jdgY"
}

TASK [mariadb : include_tasks] ****************************************************************************************************************************************
included: /tmp/.bench/playbooks/roles/mariadb/tasks/mysql_secure_installation.yml for localhost

TASK [mariadb : debug] ************************************************************************************************************************************************
ok: [localhost] => {
    "msg": "fo7bR84mjX4jdgY"
}

TASK [mariadb : Add .my.cnf] ******************************************************************************************************************************************
changed: [localhost]

TASK [mariadb : Set root Password] ************************************************************************************************************************************
changed: [localhost] => (item=localhost)
changed: [localhost] => (item=127.0.0.1)
changed: [localhost] => (item=::1)
TASK [mariadb : Reload privilege tables] ******************************************************************************************************************************
skipping: [localhost] => (item=FLUSH PRIVILEGES) 

TASK [mariadb : Remove anonymous users] *******************************************************************************************************************************
skipping: [localhost] => (item=DELETE FROM mysql.user WHERE User='') 

TASK [mariadb : Disallow root login remotely] *************************************************************************************************************************
skipping: [localhost] => (item=DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1')) 

TASK [mariadb : Remove test database and access to it] ****************************************************************************************************************
skipping: [localhost] => (item=DROP DATABASE IF EXISTS test) 
skipping: [localhost] => (item=DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%') 

TASK [mariadb : Reload privilege tables] ******************************************************************************************************************************
skipping: [localhost] => (item=FLUSH PRIVILEGES) 

TASK [mariadb : debug] ************************************************************************************************************************************************
ok: [localhost] => {
    "mysql_secure_installation": true
}

TASK [nodejs : include_tasks] *****************************************************************************************************************************************
skipping: [localhost]

TASK [nodejs : include_tasks] *****************************************************************************************************************************************
included: /tmp/.bench/playbooks/roles/nodejs/tasks/redhat_family.yml for localhost

TASK [nodejs : Add Node.js PPA] ***************************************************************************************************************************************
 [WARNING]: Consider using the get_url or uri module rather than running 'curl'.  If you need to use command because get_url or uri is insufficient you can add 'warn:
false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.

changed: [localhost]

TASK [nodejs : Install node v8] ***************************************************************************************************************************************
changed: [localhost]

TASK [nodejs : Install yarn] ******************************************************************************************************************************************
changed: [localhost]

TASK [swap : Create swap space] ***************************************************************************************************************************************
changed: [localhost]

TASK [swap : Make swap] ***********************************************************************************************************************************************
changed: [localhost]

TASK [swap : Add to fstab] ********************************************************************************************************************************************
changed: [localhost]

TASK [swap : Turn swap on] ********************************************************************************************************************************************
changed: [localhost]

TASK [swap : Set swapiness] *******************************************************************************************************************************************
changed: [localhost]

TASK [logwatch : Install logwatch on Ubuntu or Debian] ****************************************************************************************************************
[DEPRECATION WARNING]: evaluating production as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see
 CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False
 in ansible.cfg.
skipping: [localhost]

TASK [logwatch : Copy logwatch config] ********************************************************************************************************************************
[DEPRECATION WARNING]: evaluating production as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see
 CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False
 in ansible.cfg.
skipping: [localhost]

TASK [bash_screen_wall : Setup bash screen wall] **********************************************************************************************************************
[DEPRECATION WARNING]: evaluating production as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see
 CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False
 in ansible.cfg.
changed: [localhost]

TASK [frappe_selinux : Install deps] **********************************************************************************************************************************
[DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying 
`name: "{{item}}"`, please use `name: ['policycoreutils-python', 'selinux-policy-devel']` and remove the loop. This feature will be removed in version 2.11. 
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: evaluating production as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see
 CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False
 in ansible.cfg.
changed: [localhost] => (item=[u'policycoreutils-python', u'selinux-policy-devel'])

TASK [frappe_selinux : Check enabled SELinux modules] *****************************************************************************************************************
[DEPRECATION WARNING]: evaluating production as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see
 CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False
 in ansible.cfg.
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "semanage module -l", "delta": "0:00:00.924087", "end": "2019-05-20 23:02:58.909678", "msg": "non-zero return code", "rc": 1, "start": "2019-05-20 23:02:57.985591", "stderr": "libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).\nOSError: No such file or directory", "stderr_lines": ["libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).", "OSError: No such file or directory"], "stdout": "", "stdout_lines": []}

RUNNING HANDLER [mariadb : restart mysql] *****************************************************************************************************************************

PLAY RECAP ************************************************************************************************************************************************************
localhost                  : ok=28   changed=21   unreachable=0    failed=1    skipped=28   rescued=0    ignored=0   

Traceback (most recent call last):
  File "install.py", line 426, in <module>
    install_bench(args)
  File "install.py", line 122, in install_bench
    run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
  File "install.py", line 338, in run_playbook
    success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'))
  File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'site.yml', '-e', '@/tmp/extra_vars.json', '--become', '--become-user=frappe']' returned non-zero exit status 2
cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted