From 26f656961306239075612ac75a92b79db44e1539 Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Tue, 6 Feb 2018 11:06:29 +0800 Subject: 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 --- deploy/adapters/ansible/roles/config-osa/files/redhat-7.yml | 5 +++++ deploy/adapters/ansible/roles/config-osa/tasks/main.yml | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 deploy/adapters/ansible/roles/config-osa/files/redhat-7.yml (limited to 'deploy/adapters/ansible') 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 -- cgit 1.2.3-korg