Skip to content

Instantly share code, notes, and snippets.

@dmsimard
Last active August 30, 2017 08:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmsimard/1e1b6fb7123c5c50519c065299f2e47c to your computer and use it in GitHub Desktop.
Save dmsimard/1e1b6fb7123c5c50519c065299f2e47c to your computer and use it in GitHub Desktop.
WeIRDO on localhost
#!/bin/bash
DELOREAN_URL="https://trunk.rdoproject.org/centos7-master/consistent/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-scenario003.yml -e delorean_url=$DELOREAN_URL -e openstack_release=master -e version=master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment