Skip to content

Instantly share code, notes, and snippets.

View tumbl3w33d's full-sized avatar

Benjamin tumbl3w33d

  • Berlin
View GitHub Profile
@tumbl3w33d
tumbl3w33d / detect_smallest_mtu_ansible.md
Created August 19, 2021 15:03
Detect smallest MTU among all interfaces of an ansible target host

using jmespath

{{ ansible_facts | json_query('*.mtu') | min }}

avoiding jmespath dependency

- set_fact: