18 lines
385 B
YAML
18 lines
385 B
YAML
|
---
|
||
|
- name: Update apt cache
|
||
|
become: true
|
||
|
ansible.builtin.apt:
|
||
|
update_cache: true
|
||
|
cache_valid_time: 3600
|
||
|
when:
|
||
|
- ansible_pkg_mgr == "apt"
|
||
|
|
||
|
- name: Prepare Nginx Module
|
||
|
ansible.builtin.include_tasks: rtmp_module.yml
|
||
|
|
||
|
- name: Download NginX
|
||
|
ansible.builtin.include_tasks: nginx_download.yml
|
||
|
|
||
|
- name: Compile NginX
|
||
|
ansible.builtin.include_tasks: nginx_compile.yml
|