Skip to content
Snippets Groups Projects
Commit 3b19761c authored by nimrod's avatar nimrod
Browse files

- Install lsb-release for the ansible_lsb facts, added test via

assertion in test playbook.
parent 9ddcbd05
No related branches found
No related tags found
No related merge requests found
......@@ -10,9 +10,11 @@
register: debian_bootstrap_install_python
changed_when: "'Unpacking' in debian_bootstrap_install_python.stdout"
- name: Install IP utilities for networking facts
- name: Install requirements for more complete facts
apt:
name: iproute
name:
- iproute
- lsb-release
state: present
update_cache: yes
cache_valid_time: 3600
......
......@@ -24,3 +24,4 @@
assert:
that:
- ansible_default_ipv4 is defined
- ansible_lsb is mapping
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment