Ignore docker service errors 46/62646/7
authorThanh Ha <zxiiro@gmail.com>
Tue, 17 Dec 2019 17:12:06 +0000 (12:12 -0500)
committerThanh Ha (zxiiro) <zxiiro@gmail.com>
Mon, 16 Mar 2020 21:24:28 +0000 (21:24 +0000)
commit42efd9a75ec011202797a7005280f5ceaf39c578
treed57a37e4f4f3073b2943ac0726d958f644e4f552
parentaf625b2d86524a08ec707b6f9c9a85eb78d2c9f2
Ignore docker service errors

The docker_service_enable switch was a hacky workaround to allow
molecule to be able to run the docker role. Rather than introducing
a variable that is not used anywhere an alternative is to just
ignore the error from the service enable command.

This command is expected to pass in VMs but fail in docker containers
due to missing systemctl. It is not critical that the service is
enabled so this is a reasonable alternative to using an otherwise
unused variable.

Change-Id: I25984ca2fd5e6141b29a23cb5feb4d1283eddd1a
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
defaults/main.yml
molecule/default/molecule.yml
tasks/main.yml