Skip to content

Instantly share code, notes, and snippets.

@mehulved
Created April 2, 2014 10:09
Show Gist options
  • Save mehulved/9931406 to your computer and use it in GitHub Desktop.
Save mehulved/9931406 to your computer and use it in GitHub Desktop.
---
- name: Prepare hosts that will be used
user: root
hosts: all
roles:
- name: Gather information about all the hosts in our account
local_action:
module: rax_facts
credentials: ~/.rackspace_cloud_credentials
name: "{{ inventory_hostname }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment