1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_role_nginx.git synced 2024-08-16 16:19:48 +02:00
ansible_role_nginx/tasks/installation.yml
L3D 0144eb1c02
create option for logging
create option for logging
add new ansible prefix
2021-02-06 17:00:10 +01:00

15 lines
279 B
YAML

---
- name: Update apt cache
become: true
ansible.builtin.apt:
cache_valid_time: 3600
update_cache: true
when:
- ansible_pkg_mgr == "apt"
- name: Install nginx
become: true
ansible.builtin.package:
name:
- 'nginx'
state: "{{ nxinx__state }}"