You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
895 B
47 lines
895 B
--- |
|
- name: install lighttpd packages |
|
vars: |
|
packages: |
|
- fcgi |
|
- lighttpd |
|
- php7-common |
|
- php7-cgi |
|
- php7-ctype |
|
- php7-curl |
|
- php7-dom |
|
- php7-fileinfo |
|
- php7-gettext |
|
- php7-gd |
|
- php7-iconv |
|
- php7-imap |
|
- php7-json |
|
- php7-ldap |
|
- php7-mbstring |
|
- php7-mcrypt |
|
- php7-mysqli |
|
- php7-pdo |
|
- php7-pdo_mysql |
|
- php7-pdo_sqlite |
|
- php7-posix |
|
- php7-soap |
|
- php7-session |
|
- php7-xml |
|
- php7-xmlrpc |
|
- php7-zip |
|
# TODO: move tar to common packages |
|
- tar |
|
apk: |
|
name: "{{ packages | join(' ') }}" |
|
state: present |
|
|
|
- name: copy lighttpd.conf |
|
template: |
|
src: templates/lighttpd.conf.j2 |
|
dest: /etc/lighttpd/lighttpd.conf |
|
|
|
- name: ensure lighttpd service is started |
|
service: |
|
name: lighttpd |
|
enabled: yes |
|
state: started |
|
|
|
|