Re: [ansible-project] Variables between playbooks

2017-08-11 Thread marta . albecka1
Thanks I guess I will put it into a new file. W dniu czwartek, 10 sierpnia 2017 19:35:04 UTC+2 użytkownik Kai Stian Olstad napisał: > > On 09. aug. 2017 22:56, marta.a...@gmail.com wrote: > > I have some problem and I can't figure out the answear to it. I'm > > relatively new to Ansible so

Re: [ansible-project] Variables between playbooks

2017-08-10 Thread Pa S
Well, aside from a thread on vars_files I just posted, you can use facts that seem to span imports of playbooks. see the set_facts documentation. You can also set variables in inventory files On Thursday, August 10, 2017 at 10:35:04 AM UTC-7, Kai Stian Olstad wrote: > > On 09. aug. 2017 22:56,

Re: [ansible-project] Variables between playbooks

2017-08-10 Thread Kai Stian Olstad
On 09. aug. 2017 22:56, marta.albec...@gmail.com wrote: I have some problem and I can't figure out the answear to it. I'm relatively new to Ansible so I'm still learning. I have to separate playbooks and I want to set a variable value in one, and use it in the other. So for example in playbook 1

[ansible-project] Variables between playbooks

2017-08-09 Thread marta . albecka1
Hi! I have some problem and I can't figure out the answear to it. I'm relatively new to Ansible so I'm still learning. I have to separate playbooks and I want to set a variable value in one, and use it in the other. So for example in playbook 1 I want to start ec2 instance and I want to safe