If you so choose, you could add a task to the role to ensure the system is
a 64-bit system.

- name: "Ensure system is x86_64"
  fail: msg="Docker requires a 64bit system architecture"
  when: "ansible_architecture != 'x86_64'"

See the fail module: http://docs.ansible.com/fail_module.html




On Wed, Feb 26, 2014 at 10:11 AM, bryan hunt <[email protected]>wrote:

>
>
> I created a (trivial) role to install Docker onto Ubuntu Precise, and
> amended the meta/main.yml file appropriately.
>
> There is an issue though, this role only works on Ubuntu Precise 64bit.
> AFAIK, Docker do not supply 32 bit debs for their service.
>
> I can't figure out how to express this, is there a way of expressing CPU
> architecture?
>
> Thanks,
>
> Bryan
>
> --
> 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/8bca7d59-8404-4849-8839-44847ccb3af3%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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/CAK6JQEEKZu3Dzw8gFHFyScw9W4BBrLZGiEvtRwnZbhS0WJCwjA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to