Created
May 22, 2014 19:57
-
-
Save evan4498/5876e45b77090fa681b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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