Skip to content
Snippets Groups Projects
Commit 76e9bb83 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

make @foutrelis happy :)

parent dbd0968f
No related branches found
No related tags found
No related merge requests found
dependencies:
- role: geoipupdate
when: "'geoip2' in (nginx_extra_modules | map(attribute='name') | list)"
when: "'geoip2' in (nginx_extra_modules | map(attribute='name') )"
vars:
geoipupdate_edition_ids: GeoLite2-City
......@@ -2,8 +2,7 @@
pacman: name=nginx,nginx-mod-brotli state=present
- name: Install extra nginx modules
pacman: name=nginx-mod-{{ item.name }} state=present
loop: "{{ nginx_extra_modules }}"
pacman: name={{ nginx_extra_modules | map(attribute='name') | map('regex_replace', '^', 'nginx-mod-') }} state=present
- name: Install nginx.service snippet
copy: src=nginx.service.d dest=/etc/systemd/system owner=root group=root mode=0644
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment