any thoughts or approach in this regard. ....

On Thu, Dec 14, 2017 at 12:13 PM, <[email protected]> wrote:

> I have few variables defined in a variable.yml file for example
>
> cat variable.com ( its a dynamic file and the value keeps changing )
> ptr_image: my.example.com/jobname/testname
> ver_number: v99
>
> I am using this in my playbook ... build.yml
>
> where i am using this file for the variables..
>
> ---
> - name: to execute the build
>   tasks:
>   - name: exporting the variables
>     include_vars: variable.yml
>   - name: running the docker stack
>     shell: docket stack -c some.yml ..
>
>
>
> but while running the command docker stack this variable is not exporting
> and throws error . Could you please help as to how can i export this
> variable .
> .i have tried environment module environment but its not exporting i am
> not sure if i am doing it correctly...Thank you
>
>
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/ansible-project/glH8oHQHiC0/unsubscribe.
> To unsubscribe from this group and all its topics, 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/6be333d1-917f-49c5-bb97-91cc9b155072%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/6be333d1-917f-49c5-bb97-91cc9b155072%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/CALguqP%2B9056EVE1_CHg7G8KXEwQAEOfeQy2R_Y6c5%2BpTENgqgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to