Skip to content
No description, website, or topics provided.
Python PHP Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
credentials
inventory
roles
vars
.gitignore
README.md
ansible.cfg
gce_ansible.sh
golang.yml
lb-clean.yml
lb-sample.yml
lb-test.sh
wordpress.yml

README.md

ansible-gce

Ansible Playbook for starting Google Compute Engine instance.

Spec:

  • OS X 10.10.5
  • Python 2.7.10
  • Ansible 1.9.4
  • Apache libcloud 0.20.0

Reference:

Ready to play (Setting GCE module):

Step-1.

sudo pip install apache-libcloud

Step-2.

  • You can create new credential from the console by going to the "APIs and Auth" section and choosing to create a new client ID for a service account.
  • Once you’ve created a new client ID and downloaded the generated private key, you'll save pkcs12 format file to /credentials/~filename~.p12

How to play:

Part-1. Create two instances and Load-balancing

$ gce_ansible.sh lb-sample.yml

Part-2. Create an instance and Setting WordPress

$ gce_ansible.sh wordpress.yml
You can’t perform that action at this time.