CLeaning out old method things
This commit is contained in:
parent
eed48aa32f
commit
7edf24ba20
20
infra/static-vultr/ansible/playbooks/download-publics.yml
Normal file
20
infra/static-vultr/ansible/playbooks/download-publics.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
- hosts: webhost
|
||||||
|
remote_user: root
|
||||||
|
vars:
|
||||||
|
websites:
|
||||||
|
- shockrah.xyz
|
||||||
|
tasks:
|
||||||
|
- name: Remove wget
|
||||||
|
apt:
|
||||||
|
name: wget
|
||||||
|
state: absent
|
||||||
|
- name: Clean out /opt/nginx/
|
||||||
|
file:
|
||||||
|
path: /opt/nginx/
|
||||||
|
state: absent
|
||||||
|
- name: Ensure /opt/nginx is still present
|
||||||
|
file:
|
||||||
|
state: directory
|
||||||
|
owner: nginx
|
||||||
|
path: /opt/nginx/
|
@ -7,7 +7,6 @@
|
|||||||
- resume.shockrah.xyz
|
- resume.shockrah.xyz
|
||||||
- temper.tv
|
- temper.tv
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Add local routing for the server confs
|
- name: Add local routing for the server confs
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/hosts
|
path: /etc/hosts
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
remote_user: root
|
remote_user: root
|
||||||
tasks:
|
tasks:
|
||||||
- name: Setup nginx
|
- name: Setup nginx
|
||||||
import_tasks: tasks/nginx-setup.yml
|
import_tasks: ../tasks/nginx-setup.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user