mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
nginx/tasks/install.yml: Modern Ansible approach (to install packages)
77b3041
This commit is contained in:
parent
2c79ba09a1
commit
a019a9337f
1 changed files with 7 additions and 8 deletions
|
@ -5,16 +5,15 @@
|
|||
ignore_errors: yes
|
||||
# 'when: apache_installed is defined' insuff b/c mysql's php installs apache2
|
||||
|
||||
- name: Install required and helper packages for NGINX
|
||||
- name: 'Install 5 packages for NGINX: libnginx-mod-http-subs-filter, nginx-extras, php-fpm, uwsgi, uwsgi-plugin-python3'
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
name:
|
||||
- libnginx-mod-http-subs-filter
|
||||
- nginx-extras
|
||||
- php-fpm
|
||||
- uwsgi
|
||||
- uwsgi-plugin-python3
|
||||
state: present
|
||||
with_items:
|
||||
- nginx-extras
|
||||
- uwsgi
|
||||
- uwsgi-plugin-python3
|
||||
- php-fpm
|
||||
- libnginx-mod-http-subs-filter
|
||||
|
||||
# 2020-10-16: Removed per #2560
|
||||
#- name: Add user '{{ apache_user }}' to shadow group, so it can authenticate Admin Console
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue