Hi Micheal, Do you have any advice for it? It doesn't accept when condition. Best.
On Tuesday, January 28, 2014 3:42:14 PM UTC+1, Michael DeHaan wrote: > > There's no mechanism for this. > > vars_prompt always prompts for the variable. > > > > > On Tue, Jan 28, 2014 at 9:25 AM, Marcin Prączko <[email protected] > <javascript:>> wrote: > >> Hi, >> >> Have question whether is possible (ansible 1.4.2 >) setup prompt for >> volue for variable in variable is not defined. >> >> For example: >> First run of playbook: >> - variable is not defined >> - ask for value >> - task write value of variable to some ansible vars file >> >> ... Do other tasks... >> >> Next run of playbook: >> - variable is read from ansible vars file >> - no prompt for value >> >> >> ... Do other tasks .... >> >> Tried find this in ansible help, but so far no luck. >> >> Best regards, >> Marcin Praczko >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Michael DeHaan <[email protected] <javascript:>> > CTO, AnsibleWorks, Inc. > http://www.ansibleworks.com/ > > -- 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/17d6663d-a8de-4069-ba0b-2e5f4a8ccc3f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
