1
0
Fork 0
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:
A Holt 2021-05-21 16:40:19 -04:00 committed by GitHub
parent 2c79ba09a1
commit a019a9337f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}"
state: present
with_items:
name:
- libnginx-mod-http-subs-filter
- nginx-extras
- php-fpm
- uwsgi
- uwsgi-plugin-python3
- php-fpm
- libnginx-mod-http-subs-filter
state: present
# 2020-10-16: Removed per #2560
#- name: Add user '{{ apache_user }}' to shadow group, so it can authenticate Admin Console