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
|
||||
- temper.tv
|
||||
tasks:
|
||||
|
||||
- name: Add local routing for the server confs
|
||||
lineinfile:
|
||||
path: /etc/hosts
|
||||
|
@ -4,4 +4,4 @@
|
||||
remote_user: root
|
||||
tasks:
|
||||
- name: Setup nginx
|
||||
import_tasks: tasks/nginx-setup.yml
|
||||
import_tasks: ../tasks/nginx-setup.yml
|
||||
|
Loading…
Reference in New Issue
Block a user