From 06bcbafc86e9d3c8d1333e2e7e07c00be5290d4f Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 10 Aug 2020 06:38:46 -0500 Subject: [PATCH] Remove Apache from desktops FUCKING WHY --- roles/desktop-common/tasks/apache.yml | 28 --------------------------- roles/desktop-common/tasks/main.yml | 3 --- 2 files changed, 31 deletions(-) delete mode 100644 roles/desktop-common/tasks/apache.yml diff --git a/roles/desktop-common/tasks/apache.yml b/roles/desktop-common/tasks/apache.yml deleted file mode 100644 index 4fcc8d1..0000000 --- a/roles/desktop-common/tasks/apache.yml +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/ansible-playbook -# vim:ft=ansible: ---- -- name: Set up local Apache - block: - - name: Set up Apache - block: - - name: Create webroot - file: - path: "/var/www/localhost" - mode: "0755" - state: directory - - name: Clone repo - git: - repo: "{{ desktop_web_repo }}" - dest: "/var/www/localhost" - notify: restart apache - - name: Copy over virtual host configs - template: - src: apache2-vhost.conf - dest: "/etc/apache2/sites-available/localhost.conf" - notify: restart apache - - name: Enable config - command: - cmd: "a2ensite localhost.conf" - creates: "/etc/apache2/sites-enabled/localhost.conf" - notify: restart apache - become: yes diff --git a/roles/desktop-common/tasks/main.yml b/roles/desktop-common/tasks/main.yml index 9d764ad..59358a4 100644 --- a/roles/desktop-common/tasks/main.yml +++ b/roles/desktop-common/tasks/main.yml @@ -42,9 +42,6 @@ - name: Configure custom kernel modules include_tasks: dkms.yml tags: [ dkms ] - - name: Configure local Apache - include_tasks: apache.yml - tags: [ apache ] - name: Configure SSH include_tasks: sshd.yml - name: Configure system packages