ansible/site.yml

39 lines
1.6 KiB
YAML
Raw Normal View History

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
2020-06-21 10:14:25 -05:00
- import_playbook: provision.yml
- hosts: all
2020-08-01 16:25:56 -05:00
pre_tasks:
- name: Get public IP
ipify_facts:
tags: [ always ]
roles:
2020-08-01 16:36:04 -05:00
- role: awscreds
tags: [ common, dns ]
2020-08-08 20:37:28 -05:00
- role: base-user
vars:
user_username: salt
user_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
37666131343936663962386535343939373161343337383436613961303637376136633736353533
3366623536646563383563373265313134663464396231370a303033353661336436386561366139
30393536393634653566646636366436656435623534626266343632313336336336346131383361
3366343932383930350a383637646261373135376138633533306530306339316235353262356135
34626466363266616265653064333365663663306330666632343864373335626265323230633331
33623431633665353964623437636231623366383733626266353162633762373035376638663936
62383065653836366431316461663862393130653761643937376565366435646665313961663534
64303363653631653433343361616635373966326433663466636164613062343561333036613937
35616666633737356331653632323639373330396433366639326466373639313630
tags: [ common, user ]
- hosts: 9iron.club
roles:
2020-08-08 20:37:28 -05:00
- role: base-snmpd
2020-07-24 03:25:23 -05:00
tags: [ common, snmpd ]
2020-08-10 06:24:22 -05:00
- role: influxdb
tags: [ common, influxdb ]
2020-08-01 16:25:56 -05:00
- import_playbook: playbooks/dns.yml
2020-08-01 16:47:56 -05:00
- import_playbook: playbooks/dbservers.yml
2020-06-24 06:54:45 -05:00
- import_playbook: playbooks/webservers.yml
- import_playbook: playbooks/gameservers.yml
- import_playbook: playbooks/home.yml