iproute2 missing
fhufenreuter opened this issue · 4 comments
fhufenreuter commented
I would like to test my roles with your image and need ansible_default_ipv4 to be available. Right now your image is missing iproute2 could you please add this package?
Thx
maxbachmann commented
@geerlingguy I have the same problem with your ubuntu 1804 and 1604 docker image
fhufenreuter commented
Hi,
you can overcome this with the following pre tasks in your playbook.yml:
pre_tasks:
- name: Ensure test dependencies are installed (RedHat).
package: name=iproute state=present
when: ansible_os_family == 'RedHat'
- name: Ensure test dependencies are installed (Debian).
package: name=iproute2 state=present
when: ansible_os_family == 'Debian'
geerlingguy commented
See related: geerlingguy/docker-ubuntu1604-ansible#6
geerlingguy commented
This should be in the :latest tag soon, thanks!