17 lines
457 B
YAML
17 lines
457 B
YAML
# This playbook basically guarantees that the host is in a production ready state
|
|
---
|
|
- hosts: webhost
|
|
remote_user: root
|
|
vars:
|
|
websites:
|
|
- shockrah.xyz
|
|
- temper.tv
|
|
- resume.shockrah.xyz
|
|
tasks:
|
|
- name: Setup nginx
|
|
import_tasks: ../tasks/nginx-setup.yml
|
|
- name: Test local sites
|
|
import_tasks: ../tasks/tests/local-site-presence.yml
|
|
- name: Ensure AWS is setup
|
|
import_tasks: ../tasks/setup-aws-cli.yml
|