Upgrade to ansible to 2.0

Registered by Jeffrey Zhang on 2016-04-29

ansible 2.0 is release. It has many new feature and bug fix. We should move to
that version.

Blueprint information

Status:
Complete
Approver:
Michał Jastrzębski
Priority:
Essential
Drafter:
Jeffrey Zhang
Direction:
Approved
Assignee:
Jeffrey Zhang
Definition:
Approved
Series goal:
Accepted for newton
Implementation:
Implemented
Milestone target:
milestone icon newton-3
Started by
Michał Jastrzębski
Completed by
Jeffrey Zhang

Related branches

Sprints

Whiteboard

Jeffrey,

can you fill out the work items that you think this work entails?

I'm happy to help on implementation.

thanks
-steve

I'll also help on this - pbourke

thanks guys. I will fill the work items ASAP. (jeffrey4l)

Hi, Jeffrey, some gate jobs failed after upgrading to ansbile>2. It is better to specify a particular ansible version, rather than >2 [1]. - Hui

[1]http://logs.openstack.org/77/322377/1/check/gate-kolla-dsvm-deploy-ubuntu-source/ae9fc48/console.html#_2016-05-28_05_11_28_653

Hui,
Yes. Currently, the ansible 2.1 break the gate/kolla. I have push a new PS to fix the gap. Could u check this https://review.openstack.org/321754 ?
thanks
Jeffrey4l

moving to newton-3.. - coolsvap

Gerrit topic: https://review.openstack.org/#q,topic:bp/ansible2,n,z

Addressed by: https://review.openstack.org/317421
    Bump the ansible to 2

Addressed by: https://review.openstack.org/311625
    Bump the ansible version to 2.0.2.0-1 in the kolla-toolbox

Addressed by: https://review.openstack.org/327410
    Fix the prechecks for the ansible version

Addressed by: https://review.openstack.org/352275
    Port with_ loop variable syntax to Ansbile 2
         (ceph ceilometer glance heat horizon keystone mariadb memcached neutron nova rabbitmq)

Addressed by: https://review.openstack.org/356183
    Port with_ loop variable syntax to Ansbile 2
         (cinder haproxy ironic magnum mistral mongodb murano swift watcher)

Addressed by: https://review.openstack.org/361886
    Chage with_ loop variables syntax to ansible 2

Gerrit topic: https://review.openstack.org/#q,topic:ansible2,n,z

Addressed by: https://review.openstack.org/368364
    Change with_ loop variables syntax to ansible 2

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.