install openstack ansible module

Change-Id: If1a8bc9fcdcaef482563792c9da0713dfe3fbc82
Signed-off-by: baigk <baiguoku@huawei.com>
This commit is contained in:
baigk 2016-02-04 01:48:07 +08:00
parent b61eeb4b44
commit e8c5e79615
2 changed files with 3 additions and 0 deletions

@ -30,3 +30,5 @@ for i in `ls $ADAPTERS_HOME/ansible/ | grep "openstack_"`; do
done
cp -rf $ADAPTERS_HOME/ansible/roles /var/ansible/
git clone $OPENSTACK_ANSIBLE_MODULE /opt/`basename $OPENSTACK_ANSIBLE_MODULE | sed 's/\.git//g'`

@ -16,6 +16,7 @@ export EPEL=${EPEL:-https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.
export MYSQL=${MYSQL:-http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm}
export OPENSTACK_ANSIBLE_MODULE=${OPENSTACK_ANSIBLE_MODULE:-https://github.com/openstack-ansible/openstack-ansible-modules.git}
# service NIC
export NIC=${NIC:-}
export IPADDR=${IPADDR:-}