Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.34 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.34 KB

Ansible Core + additions

Ansible Core with additions.

Note! This image is called ansible-core but installs ansible-base for v2.10 (EOL). For later versions, v2.11 and onwards the ansible-core package is installed.

If you find bugs or got improvements of the container, feel free to submit it here.

Simple Tags

  • v2.17-ubuntu

Shared Tags

  • v2.17, latest-ubuntu, latest

Additions

Users/Groups

Container will run as user ansible-10000 by default. However, when you build your own image based on this root will be set and you need to set it back yourself to ansible-10000 if you want.

  • ansible-1000
    • uid=1000
    • gid=1000
  • ansible-1001
    • uid=1001
    • gid=1001
  • ansible-10000
    • uid=10000
    • gid=10000

Note! All ansible users will have sudo rights. This is for convenience since some roles etc are not that well implemented.

Packages/Tools

  • git
  • openssh
  • sudo
  • gosu

How to use this container

Authenticate

USERNAME=Myname
echo $GITHUB_TOKEN | docker login ghcr.io -u $USERNAME --password-stdin

To override the default command set you can just add your own arguments after the images name:

docker run --rm -v ${PWD}:/mnt ghcr.io/quiknode-labs/docker-ansible-core:v2.16-ubuntu ansible -m setup -c local localhost