Difference: AnsibleTipsTricks (14 vs. 15)

Revision 1503 Mar 2023 - IvoVanGeel

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

Ansible tips & tricks

Line: 75 to 75
 

Convert date to Unix time (epoch)

Changed:
<
<
Use "{{ ('2022-01-01' | to_datetime).strftime('%s') }}"
>
>
Use "{{ ('2023-02-28' | to_datetime('%Y-%m-%d')).strftime('%s') }}"
 

Extract subitems from list of dictionaries

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