ansible-pet/web/roles/nginx/tasks/main.yml

12 lines
193 B
YAML
Raw Permalink Normal View History

2021-02-25 15:49:59 +03:00
---
- name: Install nginx package
apt:
name: nginx
state: present
2021-02-27 15:20:18 +03:00
- name: configure nginx
include_tasks: configure.yml
2021-02-25 17:50:16 +03:00
2021-02-27 15:20:18 +03:00
- name: install ssl
include_tasks: certbot.yml
2021-02-27 15:17:49 +03:00
when: ssl