why sometimes i see state: present and sometime state: installed,what is the difference between two
Hi @shravan-bire,
installed
and present
is the same, it’s like alias both is to the check if the package is installed on the system
We have the same thing for removed
and absent
to remove/uninstall package from system
However, we’ve latest
, he did the same thing as present
and installed
but update the package to the latest version
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/yum_module.html#parameter-state
Regard
1 Like