CLeaning out old method things

This commit is contained in:
shockrah 2024-04-20 12:49:46 -07:00
parent eed48aa32f
commit 7edf24ba20
3 changed files with 21 additions and 2 deletions

View 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/

View File

@ -7,7 +7,6 @@
- resume.shockrah.xyz
- temper.tv
tasks:
- name: Add local routing for the server confs
lineinfile:
path: /etc/hosts

View File

@ -4,4 +4,4 @@
remote_user: root
tasks:
- name: Setup nginx
import_tasks: tasks/nginx-setup.yml
import_tasks: ../tasks/nginx-setup.yml