homeserver/Archiv/ReverseProxy-nginx/hispanico.nginx-revproxy/molecule/default/playbook.yml
Quotengrote e7be0f64f4
Playbooks, Roles und vars für ReverseProxy in Archiv (#51)
Inventorie-Einträge gelöscht
... durch Traefik ersetzt
2020-10-18 19:31:27 +02:00

26 lines
520 B
YAML

---
- 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