geerlingguy / ansible-role-docker

Ansible Role - Docker
https://galaxy.ansible.com/geerlingguy/docker/
MIT License
1.81k stars 853 forks source link

Add possibility to install docker to Amazon Linux #408

Closed khismatullinmax closed 7 months ago

khismatullinmax commented 1 year ago

For molecule need to prepare a new image into packages repository: geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest from https://hub.docker.com/_/amazonlinux

dale-c-anderson commented 1 year ago

@geerlingguy i just used this in the wild and it works great. Thumbs up from me, if that's worth anything.

abalage commented 1 year ago

Thumbs up from me too.

naphta commented 1 year ago

I've got a few issues with this PR which stop it from working for me, what I had to do to get it to run was:

    - name: Enable docker repository from Amazon Linux Extras
      command: amazon-linux-extras enable docker
      become: true

    - name: Clean yum metadata
      ansible.builtin.command: yum clean metadata
      become: true
github-actions[bot] commented 9 months ago

This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] commented 7 months ago

This pr has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.