Is it perhaps prompting for some user input? You might want to see if
there's a flag for the command to make sure it's working in an unattended
mode.


On Thu, Jun 5, 2014 at 1:23 AM, Thomas ESCALLE <[email protected]>
wrote:

> Hi,
>
> I'm trying to automize the migration of our Openshift Enterprise from 2.0
> version to 2.1 version.
> I wrote a playbook and I have a problem with "ose-upgrade gears".
>
>
> Here is my ansible plybook for this action :
>
> - hosts: broker
>   user: root
>   serial: 1
>   tasks:
>     - name: "Get status"
>       command: ose-upgrade status
>       register: status
>       changed_when: False
>
>
>    - name: "Perform the gears Step on Broker Hosts"
>      command: ose-upgrade gears
>      when: "status.stdout.find('Next step is: gears') != -1"
>
>
> The ansible command stays blocked and nothing appended. There is no error
> in log file.
>
> If I stop ansible, the process goes on on the broker host, and the
> ose-upgrade command succeed.
>
> Does someone has this problem and solve it ?
>
> Best regards.
>
> Tom
>
> --
> 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/be84a5e4-7a96-4ae1-9bef-b13dd0c3c1fd%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/be84a5e4-7a96-4ae1-9bef-b13dd0c3c1fd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMFyvFiT_X21T9E4f1FWyh7eydVCwkDYe6Zyz4uoEso5Ug5t_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to