Separate appservers into its own playbook
This commit is contained in:
parent
2e068434b4
commit
f911ec4c99
42
playbooks/appservers.yml
Normal file
42
playbooks/appservers.yml
Normal file
@ -0,0 +1,42 @@
|
||||
#!/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 ]
|
||||
- role: adam
|
||||
vars:
|
||||
adam_name: lain
|
||||
adam_auth_token: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
33346238356561313736653431666439363835663134303339366536663964333138666530343166
|
||||
6132353938663563316265346630613231616362643937380a616132386464653438343739613937
|
||||
32626230326430396563316363613139306535663832336531636239633364383432373739646436
|
||||
3338376362313539360a383763313439633331313531323232653866633065333933633061326465
|
||||
64343165613961346362353162316530623132633164643461616633633335666232633833313561
|
||||
33306532343963383331623663616161626533633261383238646164663362396261633736636362
|
||||
373764613833343634346333613639626535
|
||||
tags: [ discord, adam ]
|
@ -1,45 +1,6 @@
|
||||
#!/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 ]
|
||||
- role: adam
|
||||
vars:
|
||||
adam_name: lain
|
||||
adam_auth_token: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
33346238356561313736653431666439363835663134303339366536663964333138666530343166
|
||||
6132353938663563316265346630613231616362643937380a616132386464653438343739613937
|
||||
32626230326430396563316363613139306535663832336531636239633364383432373739646436
|
||||
3338376362313539360a383763313439633331313531323232653866633065333933633061326465
|
||||
64343165613961346362353162316530623132633164643461616633633335666232633833313561
|
||||
33306532343963383331623663616161626533633261383238646164663362396261633736636362
|
||||
373764613833343634346333613639626535
|
||||
tags: [ discord, adam ]
|
||||
- hosts: web1.9iron.club
|
||||
roles:
|
||||
- role: base-backups
|
||||
|
1
site.yml
1
site.yml
@ -24,6 +24,7 @@
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user