Re: [ansible-project] How to wait for uptime of 2 minutes and then execute next task

2023-04-03 Thread Deepanjan Acharya
I guess you need to use gather_facts: true to be able to use the up time function here. Thanks On Mon, 3 Apr 2023 at 6:52 PM, vinayak sawant wrote: > Hello Visser > > Below is my playbook > > > [image: image.png] > > anisble_uptime_seconds does not work for me. > > > *Kind Regards* > *Vinayak S

Re: [ansible-project] How to wait for uptime of 2 minutes and then execute next task

2023-04-02 Thread Deepanjan Acharya
You could use a sleep task between this two tasks and assign 120sec sleep time. Example: using builtin wait module - name: Sleep for 300 seconds and continue with play ansible.builtin.wait_for:timeout: 300 delegate_to: localhost Other wise you can use shell module and use command “sleep 30

[ansible-project] How to bypass a Linux server FID

2019-12-05 Thread Deepanjan Acharya
I am stuck here in a case , i have couple of clustered App servers running Weblogic on top of them.Servers are Linux RHEL 7 and needs us to run "be fid" to access application locations i,e a functional id. I am not able to bypass the same using ansible. Wherein another user has sudo access and