Skip to content

Commit

Permalink
Add fabfile
Browse files Browse the repository at this point in the history
  • Loading branch information
taiojia committed Jul 27, 2015
1 parent dfe0d43 commit eff4ad1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ For cloud instances:

# For OpenStack HA

### Deploy Playback
sudo fab deploy_playback

### Configure storage network
playback openstack_interfaces.yml --extra-vars \"node_name=lb01 storage_ip=192.168.1.10 storage_mask=255.255.255.0 storage_network=192.168.1.0 storage_broadcast=192.168.1.255\" -vvvv
playback openstack_interfaces.yml --extra-vars \"node_name=lb02 storage_ip=192.168.1.11 storage_mask=255.255.255.0 storage_network=192.168.1.0 storage_broadcast=192.168.1.255\" -vvvv
Expand Down
7 changes: 7 additions & 0 deletions fabfile.py
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
__author__ = 'Taio'

from fabric.api import local


def deploy_playback():
local('python setup.py install')

Empty file removed roles/haproxy/handler/main.yml
Empty file.

0 comments on commit eff4ad1

Please sign in to comment.