Skip to content

/ansible scripts fail on Centos 6 #801

@seishun

Description

@seishun

When running ansible/ansible-playbook playbooks/jenkins/worker/create.yml on a Centos 6 host, I get the following error:

TASK [baselayout : disable sftp] *******************************************************************************************************
fatal: [test-softlayer-centos6-x64-1]: FAILED! => {"changed": false, "failed": true, "msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!"}

If I install libselinux-python manually, then the following happens:

TASK [baselayout : repo : add scl devtoolset] ******************************************************************************************
fatal: [test-softlayer-centos6-x64-1]: FAILED! => {"changed": false, "failed": true, "msg": "missing required arguments: name"}

Judging by the comments in the file, it seems ansible/roles/baselayout/tasks/partials/repo/centos6.yml is unfinished.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions