Version-Release number of selected component: ansible-1.7-1.fc20 Additional info: reporter: libreport-2.2.3 cmdline: /usr/bin/python /usr/bin/ansible --help dso_list: python-libs-2.7.5-13.fc20.x86_64 executable: /usr/bin/ansible kernel: 3.15.10-201.fc20.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: ConfigParser.py:512:_read:MissingSectionHeaderError: File contains no section headers. file: /home/joel/github/wizard-scripts/ansible.cfg, line: 1 'hostfile = ./hosts\n' Traceback (most recent call last): File "/usr/bin/ansible", line 25, in <module> from ansible.runner import Runner File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line 36, in <module> import ansible.constants as C File "/usr/lib/python2.7/site-packages/ansible/constants.py", line 85, in <module> p = load_config_file() File "/usr/lib/python2.7/site-packages/ansible/constants.py", line 74, in load_config_file p.read(path) File "/usr/lib64/python2.7/ConfigParser.py", line 305, in read self._read(fp, filename) File "/usr/lib64/python2.7/ConfigParser.py", line 512, in _read raise MissingSectionHeaderError(fpname, lineno, line) MissingSectionHeaderError: File contains no section headers. file: /home/joel/github/wizard-scripts/ansible.cfg, line: 1 'hostfile = ./hosts\n' Local variables in innermost frame: cursect: None fp: <open file '/home/joel/github/wizard-scripts/ansible.cfg', mode 'r' at 0x21f7780> e: None fpname: '/home/joel/github/wizard-scripts/ansible.cfg' mo: None optname: None lineno: 1 line: 'hostfile = ./hosts\n' self: <ConfigParser.ConfigParser instance at 0x2231638>
Created attachment 935925 [details] File: backtrace
Created attachment 935926 [details] File: environ
Your ansible.cfg file seems to be missing the: [defaults] header. Add that to the top and things should work. Not sure there is much more that can be done here.