ansible-role-geoip/molecule/default/converge.yml

28 lines
646 B
YAML
Raw Permalink Normal View History

2022-09-20 22:52:41 +02:00
---
- 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"