mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-03-14 10:32:10 +07:00
Tests packages on Debian
This commit is contained in:
@@ -17,14 +17,13 @@
|
|||||||
- name: APT | Install needed packages
|
- name: APT | Install needed packages
|
||||||
apt: pkg={{ item }} update_cache=yes cache_valid_time=3600 state=present
|
apt: pkg={{ item }} update_cache=yes cache_valid_time=3600 state=present
|
||||||
with_items:
|
with_items:
|
||||||
- php5-fpm
|
|
||||||
- php7.0-fpm
|
|
||||||
- curl
|
- curl
|
||||||
- fcgiwrap
|
- fcgiwrap
|
||||||
|
- nghttp2
|
||||||
- name: APT | Install nghttp2
|
- php5-fpm
|
||||||
apt: pkg=nghttp2 state=present
|
- php7.0-fpm
|
||||||
when: ansible_distribution_major_version | version_compare(8, 'ge')
|
- strace
|
||||||
|
- vim
|
||||||
|
|
||||||
- name: SERVICE | Force start services
|
- name: SERVICE | Force start services
|
||||||
service: name={{ item }} state=started
|
service: name={{ item }} state=started
|
||||||
|
|||||||
Reference in New Issue
Block a user