[ansible-project] Re: Can url path in get_url be build dynamically?

2019-08-03 Thread Kenneth Wong
cture }} > > > Den fredag 2 augusti 2019 kl. 16:16:54 UTC+2 skrev Kenneth Wong: >> >> The following playbook will failed but exchanged with commented out line >> then it would work. >> Is there a way to evaluate the url string in get_url? >> --- >> - hosts

[ansible-project] Can url path in get_url be build dynamically?

2019-08-02 Thread Kenneth Wong
The following playbook will failed but exchanged with commented out line then it would work. Is there a way to evaluate the url string in get_url? --- - hosts: all become: true tasks: - name: install docker-compose get_url: # url:

Re: [ansible-project] How does Ansible deals with the remote prompt?

2019-08-01 Thread Kenneth Wong
quot; command that runs on the remote device using Ansible Expect Module? On Wed, Jul 31, 2019 at 10:58 PM Kai Stian Olstad < ansible-project+l...@olstad.com> wrote: > On 01.08.2019 00:24, Kenneth Wong wrote: > > Thanks Kai for your response. > > Just for clarification.

Re: [ansible-project] How does Ansible deals with the remote prompt?

2019-07-31 Thread Kenneth Wong
7.2019 15:55, Kenneth Wong wrote: > > > > > > After a successful login, does Ansible automatically figures out what > the > > remote prompt is before sending the command? > > Ansible doesn't login it run commands in non-interactive fashion. > > >

[ansible-project] How does Ansible deals with the remote prompt?

2019-07-31 Thread Kenneth Wong
After a successful login, does Ansible automatically figures out what the remote prompt is before sending the command? The remote system is Linux and supports ssh login as user root or cliadmin. The difference is when logged in as cliadmin, a Java application is spawned to interact with