ansible --version ansible 1.6 I did it through macports with
sudo port upgrade outdated On Fri, Mar 21, 2014 at 11:56 AM, James Tanner <[email protected]> wrote: > facts.update(Network(module). > populate()) > > This was an error that made it in to the 1.5.1 and 1.5.2 releases but > should no longer exist in 1.5.3 or devel. Please indicate what version of > ansible you are using and how you install it. > > > On Fri, Mar 21, 2014 at 11:47 AM, Matt Martz <[email protected]> wrote: > >> So, 1.6 is not officially released yet. That is the 'devel' branch. Are >> you running the most recent devel? I just tested here and it works. >> >> It appears to have been fixed 10 days ago. >> >> -- >> Matt Martz >> [email protected] >> >> On March 21, 2014 at 10:42:02 AM, Eric Palmer ([email protected]) >> wrote: >> >> Hey all >> >> I have a set of roles and playbooks to do some configuration on the mac >> that the playbook is running on >> ============================== >> the inventory file looks like >> >> [mac] >> localhost ansible_connection=local >> >> ============================== >> the ansible.cfg file looks like >> >> [defaults] >> ask_sudo_pass=True >> >> ============================== >> I am calling this with >> >> ansible-playbook zendserver.yml -i mac -vvvv >> >> >> ============================== >> and the parent role looks like >> >> --- >> # file: zendserver.yml >> - hosts: mac >> roles: >> - zendserver >> >> ============================== >> and the beginning of the main.yml for this role is >> >> - name: a test >> debug: msg="debug success" >> tags: >> - ldap >> - zend_server >> >> >> ============================== >> >> no matter what role I run and what the module is I get >> >> GATHERING FACTS >> *************************************************************** >> <localhost> REMOTE_MODULE setup >> <localhost> EXEC ['/bin/sh', '-c', 'mkdir -p >> $HOME/.ansible/tmp/ansible-tmp-1395416302.45-138245847417501 && chmod a+rx >> $HOME/.ansible/tmp/ansible-tmp-1395416302.45-138245847417501 && echo >> $HOME/.ansible/tmp/ansible-tmp-1395416302.45-138245847417501'] >> <localhost> PUT >> /var/folders/dc/5klb597x475fzffs530ng8880000gp/T/tmpktKsx1 TO >> /Users/epalmer/.ansible/tmp/ansible-tmp-1395416302.45-138245847417501/setup >> <localhost> EXEC ['/bin/sh', '-c', '/usr/bin/python >> /Users/epalmer/.ansible/tmp/ansible-tmp-1395416302.45-138245847417501/setup; >> rm -rf >> /Users/epalmer/.ansible/tmp/ansible-tmp-1395416302.45-138245847417501/ >> >/dev/null 2>&1'] >> failed: [localhost] => {"failed": true, "parsed": false} >> invalid output was: Traceback (most recent call last): >> File >> "/Users/epalmer/.ansible/tmp/ansible-tmp-1395416302.45-138245847417501/setup", >> line 3469, in <module> >> main() >> File >> "/Users/epalmer/.ansible/tmp/ansible-tmp-1395416302.45-138245847417501/setup", >> line 2361, in main >> data = run_setup(module) >> File >> "/Users/epalmer/.ansible/tmp/ansible-tmp-1395416302.45-138245847417501/setup", >> line 2302, in run_setup >> facts = ansible_facts(module) >> File >> "/Users/epalmer/.ansible/tmp/ansible-tmp-1395416302.45-138245847417501/setup", >> line 2293, in ansible_facts >> facts.update(Network(module).populate()) >> TypeError: __init__() takes exactly 1 argument (2 given) >> >> >> TASK: [zendserver | a test] >> *************************************************** >> FATAL: no hosts matched or all hosts have already failed -- aborting >> >> >> this worked in 1.4.4 and I skipped everything up to 1.6 >> >> please advise and thanks for Ansible. >> >> -- >> Eric Palmer >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/CAHu3QCbV_%2B1gu_rg3uRUX8M-NUMkhQ-FnAq-tQgD761T4eX8UQ%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAHu3QCbV_%2B1gu_rg3uRUX8M-NUMkhQ-FnAq-tQgD761T4eX8UQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/etPan.532c5f15.6b8b4567.12b68%40mobiletuvix.rackspace.corp<https://groups.google.com/d/msgid/ansible-project/etPan.532c5f15.6b8b4567.12b68%40mobiletuvix.rackspace.corp?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAKEYsmP75d_Bc35v-ueGMwxUm2r%2BDyieK7QTG14wHY77p93AkA%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAKEYsmP75d_Bc35v-ueGMwxUm2r%2BDyieK7QTG14wHY77p93AkA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Eric Palmer -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAHu3QCaCFA%2BYAAeA0hF5puaVknizV1WNNe%3Djyb8DM3z-ivmeCw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
