Re: [ansible-project] Howto read variables from an vaut encrypted file

2018-03-19 Thread Michael-John Turner
On Wed, Mar 07, 2018 at 09:07:53PM +, neccro...@gmail.com wrote: So it looks like ansible is unable to get the variable out of the encrypted file ... but WHY ? Brian provided a clue in his answer, but to make it more explicit: root_pass_sirius is not correctly declared. Instead of:

Re: [ansible-project] Howto read variables from an vaut encrypted file

2018-03-08 Thread Richard Sobey
My limited understanding is that this: root_pass_sirius: "{{ TesT1234 }}" ..is definting another variable called "TesT1234" rather than assigning the literal "TesT1234" to the variable "root_pass_sirius" like: root_pass_sirius: "TesT1234" On 8 March 2018 at 06:06, wrote:

Re: [ansible-project] Howto read variables from an vaut encrypted file

2018-03-07 Thread neccross9
Hi Brian, of course not. it's supposed to be the value of 'root_pass_sirus' ... Am Donnerstag, 8. März 2018 01:13:24 UTC+1 schrieb Brian Coca: > > Ansilbe reads the 'root_pass_sirus' variable fine, the problem is that > 'TesT1234' variable isn't defined anywhere. > > > -- > -- >

Re: [ansible-project] Howto read variables from an vaut encrypted file

2018-03-07 Thread Brian Coca
Ansilbe reads the 'root_pass_sirus' variable fine, the problem is that 'TesT1234' variable isn't defined anywhere. -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving

[ansible-project] Howto read variables from an vaut encrypted file

2018-03-07 Thread neccross9
Hi all, the following task may sound easy but actually it fails all the time ... I want to store my password in a variable and put it into an ansible-vault encrypted file. The content of this file will look like this: --- root_pass_sirius: "{{ TesT1234 }}" Now my check.yml shall read the