ansible/site.yml

31 lines
790 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- import_playbook: provision.yml
- hosts: all
pre_tasks:
- name: Get public IP
ipify_facts:
timeout: 30
tags: [ always ]
roles:
- role: awscreds
tags: [ common, dns ]
- role: base-user
tags: [ common, user ]
- hosts: 9iron.club
roles:
- role: base-snmpd
tags: [ common, snmpd ]
- role: influxdb
tags: [ common, influxdb ]
- role: telegraf
tags: [ common, telegraf ]
- import_playbook: playbooks/dns.yml
- import_playbook: playbooks/dbservers.yml
- import_playbook: playbooks/webservers.yml
- import_playbook: playbooks/appservers.yml
- import_playbook: playbooks/gameservers.yml
- import_playbook: playbooks/home.yml
- import_playbook: playbooks/phone.yml