ansible/roles/nginx/tasks/main.yml
2019-10-27 18:32:25 -05:00

20 lines
398 B
YAML

---
- name: install passlib
package:
name: "{{ item }}"
state: present
loop:
- python-passlib
- python3-passlib
- name: install package
package:
name: "{{ nginx_package_name }}"
state: "{{ nginx_package_state }}"
- name: manage service
service:
name: "{{ nginx_service_name }}"
state: "{{ nginx_service_state }}"
enabled: "{{ nginx_service_enabled }}"