Not sure what to make of this.
I have a service X running on host Y
After running the playbook with tasks/main.yml:
- name: keep process running but do not recycle it
service: name=X state=started enabled=yes
ansible-playbook service-X.yml
TASK [keep process running…]
changed: [bunch of hosts]
PLAY RECAP
bunch-of-hosts : ok=2 changed=1 unreachable=0 failed=0
The host now has two X process running
Yet if I go and kill them, rerun, it leaves just one.
Now if I run it again, it puts in a second one.
Run again, a third, etc.
Fortunately I caught this before running it across the hosts in test.
This is ansible 2.0.0.2