Remove Apache from desktops

FUCKING
WHY
This commit is contained in:
Salt 2020-08-10 06:38:46 -05:00
parent 2ce3297f4e
commit 06bcbafc86
2 changed files with 0 additions and 31 deletions

View File

@ -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

View File

@ -42,9 +42,6 @@
- name: Configure custom kernel modules - name: Configure custom kernel modules
include_tasks: dkms.yml include_tasks: dkms.yml
tags: [ dkms ] tags: [ dkms ]
- name: Configure local Apache
include_tasks: apache.yml
tags: [ apache ]
- name: Configure SSH - name: Configure SSH
include_tasks: sshd.yml include_tasks: sshd.yml
- name: Configure system packages - name: Configure system packages