This module requires policycoreutils-python
Closed this issue · 4 comments
ivn86 commented
ansible-role-redmine/tasks/main.yml
Line 73 in ee631dc
FAILED! => {"changed": false, "msg": "This module requires policycoreutils-python"}
bngsudheer commented
The role depends on https://galaxy.ansible.com/bngsudheer/centos_base/. You have to use centos_base or another means to install policycoreutils-python packages. For simplicity you can have it your pre_tasks.
ivn86 commented
Му playbook is:
- hosts: redmine
remote_user: root
vars:
- centos_base_enable_epel: true
- centos_base_basic_packages: true
- redmine_sql_username: redmine
- redmine_sql_password: password
- redmine_sql_database_name: redmine
- remmine_sql_database_host: localhost
- redmine_nginx_bind_ip: 192.168.23.245
- redmine_configure_selinux: yes
- redmine_plugins:
- name: scrum
base_name: scrum
url: https://redmine.ociotec.com/attachments/download/481/scrum-v0.18.1.tar.gz
create_base_directory: false
roles:
- bngsudheer.centos_base
- bngsudheer.redmine
bngsudheer commented
Add this variable too: centos_base_selinux_packages: true
ivn86 commented
Add this variable too: centos_base_selinux_packages: true
That helped. I think it is necessary to specify in example playbook. Please close issue as solved.