Re: [ansible-project] Need to get the network interface status.

2016-11-29 Thread Kai Stian Olstad
On 24. nov. 2016 15:03, lishya...@gmail.com wrote: Number of network interfaces varies in our environment and we have atleast 5 variants, hardcoding is not an option. This playbook need to check {{ ansible_interfaces }} and then get the status of all available interfaces active status. from the e

[ansible-project] Need to get the network interface status.

2016-11-28 Thread lishyalak
Number of network interfaces varies in our environment and we have atleast 5 variants, hardcoding is not an option. This playbook need to check {{ ansible_interfaces }} and then get the status of all available interfaces active status. from the example snippet below "ansible_eth1": {