Skip to content

Instantly share code, notes, and snippets.

@evan4498
Created May 22, 2014 19:57
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 evan4498/5876e45b77090fa681b1 to your computer and use it in GitHub Desktop.
Save evan4498/5876e45b77090fa681b1 to your computer and use it in GitHub Desktop.
---
- name: Build a Cloud Server
hosts: localhost
connection: local
gather_facts: False
tasks:
- name: Server build request
local_action:
module: rax
credentials: ~/.rackspace_cloud_credentials
name: ansibleweb
flavor: performance1-1
image: ubuntu-1404-lts-trusty-tahr
region: IAD
key_name: EvanPublicIAD
wait: yes
state: present
networks:
- private
- public
meta:
group: prod
groups:
- web
- wordpress
register: rax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment