assert – Asserts given expressions are true — Ansible ...
docs.ansible.com › ansible › 2Oct 11, 2021 · -assert: {that: "ansible_os_family!= 'RedHat'"}-assert: that:-"'foo' in some_command_result.stdout"-number_of_the_counting == 3-name: After version 2.7 both 'msg' and 'fail_msg' can customize failing assertion message assert: that:-my_param <= 100-my_param >= 0 fail_msg: "'my_param' must be between 0 and 100" success_msg: "'my_param' is between ...