Ansible callback support both V2.3 and V2.4 47/51447/2
authorHarry Huang <huangxiangyu5@huawei.com>
Thu, 1 Feb 2018 07:56:03 +0000 (15:56 +0800)
committerHarry Huang <huangxiangyu5@huawei.com>
Thu, 1 Feb 2018 11:14:35 +0000 (19:14 +0800)
commit5e02737fa5f23451bbb443bbf9d67cbac603dc46
treeb642b808ea19d13b8e7c370bafe4b431e4b7b560
parentbce23c34f221cdd9a41608c6505b359d99963afe
Ansible callback support both V2.3 and V2.4

JIRA: COMPASS-585

1. Add conditional branch to support both ansible
versions
2. Keep callback in ansible_plugins directory which
will contains all plugins upcoming in the future

Change-Id: I11f3d9700e07ad5bd7f03ad56f4e0bc061df05ec
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
deploy/ansible_plugins/callback/playbook_done.py [moved from deploy/playbook_done.py with 90% similarity]
deploy/ansible_plugins/callback/status_callback.py [moved from deploy/status_callback.py with 94% similarity]
deploy/compass_conf/templates/ansible_installer/openstack_pike/ansible_cfg/HA-ansible-multinodes.tmpl
util/docker-compose/roles/compass/tasks/main.yml
util/docker-compose/roles/compass/templates/docker-compose.yml.j2