This is an old revision of the document!


Check variable

ansible -i inventories/ -m debug -a "msg={{ ((users|default([])|selectattr('ssh_key','defined')|list|first).ssh_key|split('-'))[1] }}" host
Navigation
Print/export
QR Code
QR Code wiki:ansible (generated for current page)