28 lines
646 B
YAML
28 lines
646 B
YAML
|
---
|
||
|
- name: Converge
|
||
|
hosts: all
|
||
|
#gather_facts: false
|
||
|
|
||
|
pre_tasks:
|
||
|
- name: Update apt cache.
|
||
|
apt: update_cache=yes cache_valid_time=600
|
||
|
when: ansible_os_family == 'Debian'
|
||
|
- name: Install python requests
|
||
|
pip:
|
||
|
name:
|
||
|
- requests
|
||
|
- docker
|
||
|
- name: Install docker
|
||
|
vars:
|
||
|
docker_service_manage: false
|
||
|
include_role:
|
||
|
name: geerlingguy.docker
|
||
|
|
||
|
tasks:
|
||
|
- name: "Include necessary variables"
|
||
|
ansible.builtin.include_vars:
|
||
|
file: "../../.env.yml"
|
||
|
- name: "Include laurivan.geoip"
|
||
|
ansible.builtin.include_role:
|
||
|
name: "laurivan.geoip"
|