- wget
- task-spooler
- python-bs4
+ - lighttpd
- git
+- name: Configure lighttpd - document root
+ lineinfile:
+ dest: /etc/lighttpd/lighttpd.conf
+ state: present
+ regexp: '^server.document-root'
+ line: 'server.document-root = "/home/{{ username }}/ws"'
+
+- name: Configure lighttpd - index files
+ lineinfile:
+ dest: /etc/lighttpd/lighttpd.conf
+ state: present
+ regexp: '^index-file.names'
+ line: 'index-file.names = ( "index.php", "index.html", "index.lighttpd.html", "current_status.html" )'
+
+- name: Configure lighttpd - enable dir listing configuration
+ file:
+ dest: /etc/lighttpd/conf-enabled/10-dir-listing.conf
+ src: /etc/lighttpd/conf-available/10-dir-listing.conf
+ state: link
+
- name: Set http_proxy environment variable
lineinfile:
dest: /etc/environment