Skip to content

Instantly share code, notes, and snippets.

@teriyakichild
Created March 24, 2015 03:30
Show Gist options
  • Save teriyakichild/0b74df3f932141b07457 to your computer and use it in GitHub Desktop.
Save teriyakichild/0b74df3f932141b07457 to your computer and use it in GitHub Desktop.
zabbix ansible
- hosts: localhost
gather_facts: False
tasks:
#include: tasks/create-hosts.yml
- name: Server build request
local_action:
module: rax
credentials: ~/.raxpub
name: "zabbix-{{ item }}"
region: "{{ item }}"
count: 1
flavor: 5
image: 'f8ae535e-67c0-41a5-bf55-b06d0ee40cc2'
key_name: rackergs
wait: yes
state: present
group: zabbix
networks:
- private
- public
#register: rax
with_items:
- DFW
- IAD
- ORD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment