jylitalo / GceInstance

Ansible role that creates VPC, firewall rules, etc. for single instance in Google Cloud Environment (GCE)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GceInstance

Setup VPC, firewall rules, etc. for single Google Cloud Environment (GCE) instance.

Build status

Requirements

Google Cloud Environment project and credentials.

Role Variables

  • hostname: main
  • machine_type: f1-micro
  • open_ports: open smtp for localhost
  • region: us-central1
  • zone: us-central1-c
  • open_ports:
    • {protocol: tcp, port: tcp:25, src: 127.0.0.1/32}

Dependencies

None

Example Playbook

- hosts: server
  roles:
     - { role: GceInstance, hostname: foobar }

License

MIT

Author Information

Juha Ylitalo, juha.ylitalo@gmail.com, http://www.ylitalot.com/

About

Ansible role that creates VPC, firewall rules, etc. for single instance in Google Cloud Environment (GCE)

License:MIT License