Probably don't get this enough, thank you for Ansible. It has literally changed my life and how I think about IT.
On Monday, 24 November 2014 16:13:12 UTC+2, Steve Porter wrote: > > My bad - on the Ubuntu VM, the version is 1.4.4+dfsg-1~ubuntu12.04.1. On > my OSx box, 1.7.2. > > Numpty mistake! > > On Monday, 24 November 2014 12:57:59 UTC+2, Steve Porter wrote: >> >> Hi - ansible 1.7.2 >> >> On Monday, 17 November 2014 22:34:13 UTC+2, Michael DeHaan wrote: >>> >>> What's the output of "ansible --version" ? >>> >>> >>> >>> >>> On Sat, Nov 15, 2014 at 1:31 AM, Steve Porter <[email protected]> >>> wrote: >>> >>>> Having a bit of an issues with a Packer/Ansible/Vagrant build pipeline. >>>> I have been using Ansible for a while and can happily provision my dev VMs >>>> via Ansible. >>>> >>>> I have hooked Packer in the the pipeline and now with the same Ansible >>>> scripts in local mode I am getting failures on conditional checks, >>>> apache_module disallowed. >>>> >>>> This is an example of what fails: >>>> >>>> - name: Set Ruby 1.9.3 as default on Ubuntu 12.0.4 >>>> sudo: yes >>>> shell: "{{item}}" >>>> with_items: >>>> - 'cd /etc/alternatives && sudo ln -sf /usr/bin/ruby1.9.3 ruby' >>>> - 'cd /etc/alternatives && sudo ln -sf /usr/bin/gem1.9.3 gem' >>>> - 'cd /etc/alternatives && sudo ln -sf /usr/bin/irb1.9.3 irb' >>>> - 'cd /etc/alternatives && sudo ln -sf /usr/bin/ri1.9.3 ri' >>>> when: ansible_distribution_version | version_compare('12.04', '=') >>>> tags: common >>>> >>>> The error I am getting is: >>>> TASK: [common | Set Ruby 1.9.3 as default on Ubuntu 12.0.4] >>>> ******************* >>>> fatal: [127.0.0.1] => error while evaluating conditional: >>>> ansible_distribution_version | version_compare('12.04', '=') >>>> >>>> The base iso is Ubuntu 12.04. >>>> >>>> I am sure it is something simple but for the life of me this has me >>>> stumped. >>>> >>>> S >>>> >>>> -- >>>> 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/3c33947e-e475-4c4b-a8f9-52bc7c45cf37%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/ansible-project/3c33947e-e475-4c4b-a8f9-52bc7c45cf37%40googlegroups.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/deb31e94-da4f-4f44-83d3-209723036a88%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
