Re: [ansible-project] how to search inside variables or debug ?

2018-01-17 Thread F
Perfect!! Thanks for the quick help On Wednesday, January 17, 2018 at 5:12:18 PM UTC, Kai Stian Olstad wrote: > > On Wednesday, 17 January 2018 18.04.22 CET F wrote: > > Ref: http://blog.toast38coza.me/custom-ansible-module-hello-world/ > > > > play.yml > > > > - hosts: test tasks: > >

Re: [ansible-project] how to search inside variables or debug ?

2018-01-17 Thread Kai Stian Olstad
On Wednesday, 17 January 2018 18.04.22 CET F wrote: > Ref: http://blog.toast38coza.me/custom-ansible-module-hello-world/ > > play.yml > > - hosts: test tasks: > - name: Test that my module works > logmonitor_v1: > register: result > > - debug: var=result > > - name:

[ansible-project] how to search inside variables or debug ?

2018-01-17 Thread F
Ref: http://blog.toast38coza.me/custom-ansible-module-hello-world/ play.yml - hosts: test tasks: - name: Test that my module works logmonitor_v1: register: result - debug: var=result - name: Checking if there is any Error in log files fail: msg="{{