homeserver/Archiv/ReverseProxy-nginx/hispanico.nginx-revproxy/molecule/default/playbook.yml

27 lines
520 B
YAML
Raw Normal View History

2020-08-18 11:57:53 +02:00
---
- name: Converge
hosts: all
become: true
pre_tasks:
- name: Install cron (RedHat).
yum:
name: cronie
state: present
when: ansible_os_family == 'RedHat'
- name: Install cron (Debian).
apt:
name: cron
state: present
when: ansible_distribution == 'Debian'
- name: Update apt cache.
apt:
update_cache: true
cache_valid_time: 600
when: ansible_distribution == 'Ubuntu'
roles:
- role: hispanico.nginx-revproxy