Whats the difference between state=present vs state=installed in the yum module. state=installed seems to be much faster then state=present.
They are the same, an alias to each other, the prefered term in
ansible is 'present'.
not sure why you see a speed difference when they are used like this in code:
if state in ['installed', 'present']: