Closed gforcada closed 7 years ago
If you do an install from scratch this step by step instructions work: http://jenkinsploneorg.readthedocs.org/en/latest/setup.html
But if you try to run it again it fails as jenkins now is configured with authentication, while ansible-jenkins expects anonymous user to have permission to do everything.
Fortunately we are not the first ones to notice it: https://github.com/ICTO/ansible-jenkins/issues/21 and fortunately, despite the bug still being open is already fixed: https://github.com/ICTO/ansible-jenkins/pull/22
We need to add credentials somewhere so that either anonymous or authenticated we can run the playbook on jenkins.
If not the only current workaround is to disable authentication completely on jenkins and run the playbook (which restores the authentication also).
No longer relevant as we switched ansible role for jenkins
If you do an install from scratch this step by step instructions work: http://jenkinsploneorg.readthedocs.org/en/latest/setup.html
But if you try to run it again it fails as jenkins now is configured with authentication, while ansible-jenkins expects anonymous user to have permission to do everything.
Fortunately we are not the first ones to notice it: https://github.com/ICTO/ansible-jenkins/issues/21 and fortunately, despite the bug still being open is already fixed: https://github.com/ICTO/ansible-jenkins/pull/22
We need to add credentials somewhere so that either anonymous or authenticated we can run the playbook on jenkins.
If not the only current workaround is to disable authentication completely on jenkins and run the playbook (which restores the authentication also).