while executing task it's skipping even condition is true.
out put as below:
skipping: [172.31.27.224] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Can any one help me to fix this issue?
1. use Ansible facts to determine OS details (ansible_architecture)
2. stdout_lines is a list so a string match is futile, try stdout or stdout_lines[0]