PLAY [localhost] ****************************************************************************************************************************************************************************************************************************
TASK [def age1 as int] ********************************************************************************************************************************************************************************************************************** ok: [localhost] => { "msg": "age1 is 21 as int" }
TASK [def age2 as string] ******************************************************************************************************************************************************************************************************************* ok: [localhost] => { "msg": "age2 is 21 as string" }
TASK [def age1 as int to string] ************************************************************************************************************************************************************************************************************ ok: [localhost] => { "msg": "age1 is 21" }
TASK [def age2 as string to int] ************************************************************************************************************************************************************************************************************ ok: [localhost] => { "msg": "age2 is 21" }
TASK [change to string and compare age1 and age2] ******************************************************************************************************************************************************************************************* ok: [localhost] => { "msg": "21 21" }
TASK [change to int and compare age1 and age2] ********************************************************************************************************************************************************************************************** ok: [localhost] => { "msg": "21 21" }
TASK [show the married or not] ************************************************************************************************************************************************************************************************************** ok: [localhost] => { "msg": "married is True" }
TASK [show the married2 or not] ************************************************************************************************************************************************************************************************************* ok: [localhost] => { "msg": "married2 is True" }
TASK [show the married3 or not] ************************************************************************************************************************************************************************************************************* ok: [localhost] => { "msg": "married3 is true" }
PLAY RECAP ********************************************************************************************************************************************************************************************************************************** localhost : ok=7 changed=0 unreachable=0 failed=0
欣赏此文,求鼓励,求支持! if you like, you can donate money for me.