Hi,I have a vault.yml file and when I run a playbook from AWX that refers to a variable from the vault file, I got an error telling me that the variable can't be found. How can I use a vault in AWX?
--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/0b482267-bc95-433b-8803-b29bd27198d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You'll need to set up a vault credential and associate it with the job template that you are running.
On Thu, Sep 14, 2017 at 8:22 AM, Jean-Francois Anctil <ancti...@gmail.com> wrote:
Hi,I have a vault.yml file and when I run a playbook from AWX that refers to a variable from the vault file, I got an error telling me that the variable can't be found. How can I use a vault in AWX?
--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/0b482267-bc95-433b-8803-b29bd27198d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/e171290d-5a9f-46e7-8481-1a1c11f112dd%40googlegroups.com.
All you should need to do is stick it in a location that ansible would normally load vars from. Or if that's not possible, include it directly.
On Thu, Sep 14, 2017 at 8:35 AM, Jean-Francois Anctil <ancti...@gmail.com> wrote:
I forgot to mention it, but I already have the vault credential setted up and associated to my job template. Is there a precise folder where I should put the vault.yml file? For now, I have put it in the group_vars/all subdirectory of my inventory. Is it OK?--
On Thursday, September 14, 2017 at 8:31:35 AM UTC-4, Matthew Jones wrote:You'll need to set up a vault credential and associate it with the job template that you are running.On Thu, Sep 14, 2017 at 8:22 AM, Jean-Francois Anctil <ancti...@gmail.com> wrote:Hi,--I have a vault.yml file and when I run a playbook from AWX that refers to a variable from the vault file, I got an error telling me that the variable can't be found. How can I use a vault in AWX?
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/0b482267-bc95-433b-8803-b29bd27198d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Matt JonesPrincipal Software EngineerAnsible Tower
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/e171290d-5a9f-46e7-8481-1a1c11f112dd%40googlegroups.com.
All you should need to do is stick it in a location that ansible would normally load vars from. Or if that's not possible, include it directly.
On Thu, Sep 14, 2017 at 8:35 AM, Jean-Francois Anctil <ancti...@gmail.com> wrote:
I forgot to mention it, but I already have the vault credential setted up and associated to my job template. Is there a precise folder where I should put the vault.yml file? For now, I have put it in the group_vars/all subdirectory of my inventory. Is it OK?--
On Thursday, September 14, 2017 at 8:31:35 AM UTC-4, Matthew Jones wrote:You'll need to set up a vault credential and associate it with the job template that you are running.On Thu, Sep 14, 2017 at 8:22 AM, Jean-Francois Anctil <ancti...@gmail.com> wrote:Hi,--I have a vault.yml file and when I run a playbook from AWX that refers to a variable from the vault file, I got an error telling me that the variable can't be found. How can I use a vault in AWX?
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/0b482267-bc95-433b-8803-b29bd27198d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Matt JonesPrincipal Software EngineerAnsible Tower
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/e171290d-5a9f-46e7-8481-1a1c11f112dd%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/fd1bd33e-1bb4-49ac-a3f2-00b22fcd89f7%40googlegroups.com.