ansible/playbooks/appservers.yml
Salt d8a5833956 Decom Adam
You won't be missed. Piece of shit.
2020-11-07 00:32:21 -06:00

30 lines
679 B
YAML

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: fedi1.9iron.club
pre_tasks:
- name: Assure cowfee record
route53:
state: present
overwrite: yes
zone: cowfee.moe
type: A
record: "cowfee.moe."
ttl: 3600
value: [ "{{ ipify_public_ip }}" ]
wait: yes
become: yes
tags: [ common, dns ]
roles:
- role: base-backups
tags: [ backups ]
- role: matrix
vars:
matrix_db_hostname: 172.31.47.215
tags: [ fedi, matrix ]
- role: pleroma
vars:
pleroma_url: cowfee.moe
pleroma_db_hostname: 172.31.47.215
tags: [ web, pleroma ]