[Bug 232377] sysutils/ansible: default path to ansible.cfg is not ${ETCDIR}/ansible/ansible.cfg

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 18 10:43:30 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232377

            Bug ID: 232377
           Summary: sysutils/ansible: default path to ansible.cfg is not
                    ${ETCDIR}/ansible/ansible.cfg
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: lifanov at freebsd.org
          Reporter: trombik1973 at gmail.com
          Assignee: lifanov at freebsd.org
             Flags: maintainer-feedback?(lifanov at freebsd.org)

as the port patches the source by seding s|/etc/ansible|${ETCDIR}|g,
/usr/local/etc/ansible/ansible.cfg is not picked up by ansible. as a
consequence, all other path, such as path to group_vars and roles, are also
affected. 

in other distribution, the search path for ansible.cfg includes
/etc/ansible/ansible.cfg, which should be translated to
/usr/local/ansible/ansible.cfg in FreeBSD.

this results in an interesting path to ansible.cfg;
/usr/local/etc/py27-ansible/ansible/ansible.cfg

i do not think that modifying default path to configuration file, other than
/usr/local, is a good idea. having multiple ${ETCDIR} for multiple python
flavors is a quite surprise in this case. this breaks some other tools, i.e.
ansible.cfg is not picked up by the tool.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list