How to force Ansible 'shell' task to change state with 'changed_when
https://serverfault.com/questions/1133617/how-to-force-ansible-shell-task-to-change-state-with-changed-when-condition
WEBJun 13, 2023 · changed_when: false. This task should run even in check mode, so I can operate with repo_exists variable in next tasks. This works fine when I run Ansible in check mode, this is the output: "msg": { "changed": false, "cmd": "yum repolist -v | grep some-repository", "delta": "0:00:02.022965", "end": "2023-06-12 13:06:54.611504", "failed": false,
DA: 32 PA: 20 MOZ Rank: 47