Difference: AnsibleTipsTricks (9 vs. 10)

Revision 1028 Jan 2022 - IvoVanGeel

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Ansible tips & tricks

Line: 51 to 51
 

manipulating data

Added:
>
>

Convert date to Unix time (epoch)

Use "{{ ('2022-01-01' | to_datetime).strftime('%s') }}"

 

Extract subitems from list of dictionaries

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2010-2019 by LANIS