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

Reply via email to