ansible-dockerswarm icon indicating copy to clipboard operation
ansible-dockerswarm copied to clipboard

Handle python3-pip for Ubunt 20.04 and Update Documentation

Open jifox opened this issue 5 years ago • 4 comments

Update Docunemtation - add example for docker_daemon_config:

jifox avatar Oct 03 '20 16:10 jifox

Hi, I needed to modify the vars/Debian.yml for my Ubuntu servers

cat /etc/lsb-release

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"

After that change, the swarm is installed correctly.

$ docker node ls
ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS      ENGINE VERSION
ri6yc1zmo3gzm2er2kgzdm8n0     swarm3              Ready               Active              Reachable           19.03.13
tk7dsge7egukhvcy6k7arhyf1 *   swarm1              Ready               Active              Leader              19.03.13
s3k6hnyw75hli4fm1sii0vx77     swarm2              Ready               Active              Reachable           19.03.13

jifox avatar Oct 03 '20 17:10 jifox

The usage of the ansible_python_version variable is suboptimal as it relies on the python version of the ansible manager host not on the managed remote host.

higidi avatar Oct 06 '20 20:10 higidi

The usage of the ansible_python_version variable is suboptimal as it relies on the python version of the ansible manager host not on the managed remote host.

True. It'd be better to do with ansible facts. I'm making another PR.

michaelfresco avatar Mar 11 '21 00:03 michaelfresco

What is the status of this PR?

Archarachne avatar Jun 07 '23 10:06 Archarachne