Yes, all ansible facts are variables available to be used.

On Mon, Jun 16, 2014 at 12:56 PM, Leibo <[email protected]> wrote:

> Hi,
>
> Thanks,
>
> What about the package name, if it is different between OS and Arch?
>
> I managed now to include var files based on Ansible facts as their name,
> Is there a way to use Ansible facts as var names?
> Example:
>
> my_pkg_Linux_x86_64: ''package name''
>
> And use ''my_pkg_{{ ansible_system }}_{{ansible_architecture}}'' as the
> argument to module in a task?
>
> --
> 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/e99ffa2d-4d53-44d4-a174-4ae356160bc0%40googlegroups.com
> .
> 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/CAMFyvFhc_aW%2BcbVHhs9-oY09v-dD7ONCDr_uedZ6nVgGT6L2-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to