Bug #24527
closed
When parsing roles_path from ansible.cfg, commented lines are not ignored
Added by Ondřej Pražák over 6 years ago.
Updated about 6 years ago.
Description
Steps to reproduce:
1) inside /etc/ansible/ansible.cfg:
- roles_path = /tmp/roles
roles_path = /etc/ansible/roles
2) try to import roles, the commented roles_path will be used
Markdown broke my reproducer steps and I cannot edit, it should have been:
# roles_path = /tmp/roles
roles_path = /etc/ansible/roles
- Target version set to smart_proxy_ansible-2.0.4
- Fixed in Releases smart_proxy_ansible-2.0.4 added
- Status changed from New to Closed
- Fixed in Releases deleted (
smart_proxy_ansible-2.0.4)
- Fixed in Releases smart_proxy_ansible-2.1.0 added
Also available in: Atom
PDF