Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: user1fc63
Added: Oct 3, 2018 9:17 AM
Views: 8
Tags: ansible debug
  1. - name: Execute local script
  2.   script: path/of/local/script.sh
  3.   register: result
  4.  
  5. - name: Debug result
  6.   debug: var=result
  7.  
  8. - name: debug result
  9.   debug: "msg=OUTPUT: `{{ result.stdout }}`."