30 lines
679 B
YAML
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 ]
|