Skip to content

Instantly share code, notes, and snippets.

@dmsimard
Created March 10, 2017 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmsimard/ed691cb03a12bc489e8ffbb261afce67 to your computer and use it in GitHub Desktop.
Save dmsimard/ed691cb03a12bc489e8ffbb261afce67 to your computer and use it in GitHub Desktop.
p-o-i.sh
#!/bin/bash
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment