mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-24 00:33:04 +03:00
18 lines
417 B
YAML
18 lines
417 B
YAML
---
|
|
- name: Converge
|
|
hosts: all
|
|
become: true
|
|
|
|
pre_tasks:
|
|
- name: Update apt cache.
|
|
apt: update_cache=yes cache_valid_time=600
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
- name: Wait for systemd to complete initialization.
|
|
command: systemctl status systemd-tmpfiles-setup.service
|
|
when: ansible_service_mgr == 'systemd'
|
|
changed_when: false
|
|
|
|
roles:
|
|
- role: geerlingguy.docker
|