Bug fix for tacker installation on centos7 41/51741/2
authorYifei Xue <xueyifei@huawei.com>
Tue, 6 Feb 2018 03:06:29 +0000 (11:06 +0800)
committerYifei Xue <xueyifei@huawei.com>
Tue, 6 Feb 2018 03:56:54 +0000 (11:56 +0800)
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>
deploy/adapters/ansible/roles/config-osa/files/redhat-7.yml [new file with mode: 0644]
deploy/adapters/ansible/roles/config-osa/tasks/main.yml

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 (file)
index 0000000..ccfe7da
--- /dev/null
@@ -0,0 +1,5 @@
+---
+
+tacker_distro_packages:
+  - rsync
+  - git-core
index 8bb5665..74d930e 100755 (executable)
     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