From 7edf24ba209e2b84f24aace0f7791417bbbba4b7 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 20 Apr 2024 12:49:46 -0700 Subject: [PATCH] CLeaning out old method things --- .../ansible/playbooks/download-publics.yml | 20 +++++++++++++++++++ .../playbooks/remote-localized-curl-tests.yml | 1 - .../ansible/playbooks/static-host-setup.yml | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 infra/static-vultr/ansible/playbooks/download-publics.yml diff --git a/infra/static-vultr/ansible/playbooks/download-publics.yml b/infra/static-vultr/ansible/playbooks/download-publics.yml new file mode 100644 index 0000000..802d563 --- /dev/null +++ b/infra/static-vultr/ansible/playbooks/download-publics.yml @@ -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/ diff --git a/infra/static-vultr/ansible/playbooks/remote-localized-curl-tests.yml b/infra/static-vultr/ansible/playbooks/remote-localized-curl-tests.yml index b50829c..7a4d120 100644 --- a/infra/static-vultr/ansible/playbooks/remote-localized-curl-tests.yml +++ b/infra/static-vultr/ansible/playbooks/remote-localized-curl-tests.yml @@ -7,7 +7,6 @@ - resume.shockrah.xyz - temper.tv tasks: - - name: Add local routing for the server confs lineinfile: path: /etc/hosts diff --git a/infra/static-vultr/ansible/playbooks/static-host-setup.yml b/infra/static-vultr/ansible/playbooks/static-host-setup.yml index 3d9eb2b..8df5a53 100644 --- a/infra/static-vultr/ansible/playbooks/static-host-setup.yml +++ b/infra/static-vultr/ansible/playbooks/static-host-setup.yml @@ -4,4 +4,4 @@ remote_user: root tasks: - name: Setup nginx - import_tasks: tasks/nginx-setup.yml + import_tasks: ../tasks/nginx-setup.yml