String manipulation: get characters left in a variable
1- name: Display Result In Loop
2 debug: msg="Version is {{ result.stdout[:5] }}"
See https://stackoverflow.com/questions/32091667/ansible-fetch-first-few-character-of-a-register-value
1- name: Display Result In Loop
2 debug: msg="Version is {{ result.stdout[:5] }}"
See https://stackoverflow.com/questions/32091667/ansible-fetch-first-few-character-of-a-register-value