diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-02-01 15:56:03 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2018-02-01 19:14:35 +0800 |
commit | 5e02737fa5f23451bbb443bbf9d67cbac603dc46 (patch) | |
tree | b642b808ea19d13b8e7c370bafe4b431e4b7b560 /util/docker-compose/roles/compass/templates/docker-compose.yml.j2 | |
parent | bce23c34f221cdd9a41608c6505b359d99963afe (diff) |
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>
Diffstat (limited to 'util/docker-compose/roles/compass/templates/docker-compose.yml.j2')
-rwxr-xr-x | util/docker-compose/roles/compass/templates/docker-compose.yml.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/docker-compose/roles/compass/templates/docker-compose.yml.j2 b/util/docker-compose/roles/compass/templates/docker-compose.yml.j2 index 7fc8ea3a..f7748634 100755 --- a/util/docker-compose/roles/compass/templates/docker-compose.yml.j2 +++ b/util/docker-compose/roles/compass/templates/docker-compose.yml.j2 @@ -43,6 +43,7 @@ services: volumes: - {{ docker_compose_dir }}/compass_conf:/etc/compass - {{ docker_compose_dir }}/ansible:/var/ansible + - {{ docker_compose_dir }}/ansible_plugins:/opt/ansible_plugins command: - /usr/local/bin/start.sh {% endif %} |