Ansible and AWS service debug

I am little confused when to use var and when to use msg in debug in ansible when interacting with AWS. Please help.
  • post-author-pic
    Terrence C
    09-03-2018

    Actually, it is not specific to AWS. You use 'var' to capture output (the result), that you want to use in the debug statement.


    The actual Ansible documentation does a really concise job of showing you how at a glance, try this page here.

  • post-author-pic
    gauravachatrath
    09-04-2018

    Thank you Terrence

Looking For Team Training?

Learn More