geerlingguy / docker-debian11-ansible

Debian 11 (Bullseye) Docker container for Ansible playbook and role testing.
https://hub.docker.com/r/geerlingguy/docker-debian11-ansible
MIT License
40 stars 20 forks source link

Can't find sysctl #3

Closed vitabaks closed 2 years ago

vitabaks commented 2 years ago

Error during the test with Molecule, can't find sysctl

TASK [haproxy : Make sure the kernel parameter "net.ipv4.ip_nonlocal_bind" are enabled] ***
  fatal: [10.172.0.20]: FAILED! => {"changed": false, "msg": "Failed to find required executable \"sysctl\" in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}
geerlingguy commented 2 years ago

This should now be resolved as of commit: https://github.com/geerlingguy/docker-debian11-ansible/commit/101602c7b9e7b3e100b7435eaa455b94189b2d47

evrardjp commented 2 years ago

Thanks @geerlingguy !