Skip to content

Instantly share code, notes, and snippets.

@dmsimard
Last active February 1, 2017 19:05
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dmsimard/8d14ceb5a4d3a41a1879d25decb6c162 to your computer and use it in GitHub Desktop.
packstack.sh
#!/bin/bash
DELOREAN_URL="https://trunk.rdoproject.org/centos7-mitaka/a0/8a/a08a85cc40cb0584e0fda7c9361f4b922115e908_951062b2/delorean.repo"
# How to run WeIRDO on localhost from a fresh CentOS installation
yum -y install git python-setuptools python-devel libffi-devel openssl-devel "@Development Tools"
easy_install pip
pip install tox
git clone https://github.com/rdo-infra/weirdo.git
cd weirdo
cat <<EOF >hosts
localhost ansible_connection=local
[openstack_nodes]
localhost log_destination=/var/log/weirdo
EOF
tox -e ansible-playbook -- -vv -i hosts playbooks/remove-firewalld-networkmanager.yml
tox -e ansible-playbook -- -vv -i hosts playbooks/puppet-openstack-scenario001.yml -e delorean_url=$DELOREAN_URL -e openstack_release=mitaka -e version=stable/mitaka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment