You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task "Check if extension pack is already installed" in file virtualbox.yml:32 registers a variable after running a shell command but Ansible will always mark this task as being changed - this breaks idempotence of the task.
You should add changed_when: false to the task to prevent this since this task is purely for information gathering and should not have any side effects.
This task should also probably be using the Ansible command module instead of the Ansible shell module as the command being run doesn't depend on any shell specific features.
The text was updated successfully, but these errors were encountered:
Task "Check if extension pack is already installed" in file virtualbox.yml:32 registers a variable after running a shell command but Ansible will always mark this task as being changed - this breaks idempotence of the task.
You should add
changed_when: false
to the task to prevent this since this task is purely for information gathering and should not have any side effects.This task should also probably be using the Ansible command module instead of the Ansible shell module as the command being run doesn't depend on any shell specific features.
The text was updated successfully, but these errors were encountered: