Closed patheard closed 5 years ago
This will allow and Ansible playbook test docker stack to run services that rely on systemctl.
systemctl
Another possibility would be:
ssh
ansible_connection: docker
CMD: ["/sbin/init"]
This would mean that the Ansible playbooks could only be tested from a Linux host.
Related to #8
Fixed with https://github.com/gdraheim/docker-systemctl-replacement.
This will allow and Ansible playbook test docker stack to run services that rely on
systemctl
.Another possibility would be:
ssh
and switching toansible_connection: docker
; andCMD: ["/sbin/init"]
.This would mean that the Ansible playbooks could only be tested from a Linux host.
Related to #8