Open Kimi450 opened 1 year ago
Something like the below might be okay?
https://github.com/geerlingguy/ansible-role-docker
- name: Install Docker when: install.docker include_role: name: geerlingguy.docker apply: become: True vars: docker_edition: "ce" docker_users: - "{{ ansible_user }}"
reloading systemd modules with this might be cleaner too https://docs.ansible.com/ansible/latest/collections/ansible/builtin/systemd_module.html
Something like the below might be okay?
https://github.com/geerlingguy/ansible-role-docker