2024-04-17 03:37:47 +00:00
|
|
|
# This playbook basically guarantees that the host is in a production ready state
|
|
|
|
---
|
|
|
|
- hosts: webhost
|
|
|
|
remote_user: root
|
2024-04-20 20:23:24 +00:00
|
|
|
vars:
|
|
|
|
websites:
|
|
|
|
- shockrah.xyz
|
|
|
|
- temper.tv
|
|
|
|
- resume.shockrah.xyz
|
2024-04-17 03:37:47 +00:00
|
|
|
tasks:
|
|
|
|
- name: Setup nginx
|
2024-04-20 19:49:46 +00:00
|
|
|
import_tasks: ../tasks/nginx-setup.yml
|
2024-04-20 20:23:24 +00:00
|
|
|
- name: Test local sites
|
|
|
|
import_tasks: ../tasks/tests/local-site-presence.yml
|
2024-04-20 20:45:07 +00:00
|
|
|
- name: Ensure AWS is setup
|
|
|
|
import_tasks: ../tasks/setup-aws-cli.yml
|