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


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6cb6fb4a-379f-480b-bb52-db250e2ec4e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to