diff options
author | Yifei Xue <xueyifei@huawei.com> | 2018-02-06 11:06:29 +0800 |
---|---|---|
committer | Yifei Xue <xueyifei@huawei.com> | 2018-02-06 11:56:54 +0800 |
commit | 26f656961306239075612ac75a92b79db44e1539 (patch) | |
tree | c864ae42759ddcf86c3ec2292889797f6e6b6c7b /deploy/adapters/ansible/roles | |
parent | 45234f29eec45dc6a97c6a5db2a8d8a700624ab1 (diff) |
Bug fix for tacker installation on centos7
JIRA: -
Currently there is no variable definition file of tacker
for centos in os_tacker repo. This will lead an error
while including vars on centos deployment. So this patch will
add a file named "redhat-7.yml" for centos.
Change-Id: I965834adb0d2d25e5a68a9c7dbb397342108078f
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles')
-rw-r--r-- | deploy/adapters/ansible/roles/config-osa/files/redhat-7.yml | 5 | ||||
-rwxr-xr-x | deploy/adapters/ansible/roles/config-osa/tasks/main.yml | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/files/redhat-7.yml b/deploy/adapters/ansible/roles/config-osa/files/redhat-7.yml new file mode 100644 index 00000000..ccfe7da2 --- /dev/null +++ b/deploy/adapters/ansible/roles/config-osa/files/redhat-7.yml @@ -0,0 +1,5 @@ +--- + +tacker_distro_packages: + - rsync + - git-core diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml index 8bb56656..74d930e2 100755 --- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml +++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml @@ -361,3 +361,8 @@ dest: /opt/openstack-ansible/playbooks/setup-openstack.yml insertafter: "^- include: os-trove" line: "- include: os-tacker-install.yml" + +- name: add variables file of tacker for centos + copy: + src: redhat-7.yml + dest: /etc/ansible/roles/os_tacker/vars/redhat-7.yml |