Closed gallexme closed 4 years ago
I am using it in ubuntu for long... Never had such issue. Can you share the ubuntu version and ansible versions? It was tested with many ansible versions, from 2.3/4 till 2.7.5, also on latest ubuntu 18.04...
Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic
Ansible 2.9
so newer ansible... updating to "present" instead...
Quick Headsup dont see it in https://docs.ansible.com/ansible/2.5/modules/apt_module.html?highlight=apt either but in the yum module https://docs.ansible.com/ansible/2.5/modules/yum_module.html weird :(
somehow, it works in ubuntu. right now I am using ans 2.7.5 :) anyway, updated and closing it.
Example:
state=installed doesnt exist in apt
(item=kubelet) => {"ansible_loop_var": "item", "changed": false, "item": "kubelet", "msg": "value of state must be one of: absent, build-dep, fixed, latest, present, got: installed"}
either change to latest/fixed/present