transmission not restarted at end of play
t2d opened this issue · 6 comments
t2d commented
these are the only tasks:
TASK: [elboletaire.transmission | Install Transmission] ***********************
ok: [192.168.0.2]
TASK: [elboletaire.transmission | Make sure transmission is not running] ******
changed: [192.168.0.2]
TASK: [elboletaire.transmission | Add downloads folder] ***********************
ok: [192.168.0.2]
TASK: [elboletaire.transmission | Add watch dir] ******************************
ok: [192.168.0.2]
TASK: [elboletaire.transmission | Add incomplete folder] **********************
skipping: [192.168.0.2]
TASK: [elboletaire.transmission | Copy Transmission configuration] ************
changed: [192.168.0.2]
TASK: [elboletaire.transmission | Add current user to transmission group] *****
ok: [192.168.0.2]
PLAY RECAP ********************************************************************
elboletaire commented
Notifiers are executed at the end of the entire playbook. Are you sure it has not been restarted when the entire playbook finished executing?
t2d commented
- name: Add current user to transmission group
user:
name: "{{ transmission_user }}"
groups: debian-transmission
append: yes
notify: start transmission
tags: transmission
It is only executed during the first run. Afterwards the user already exists, therefore the notify doesn't fire.
elboletaire commented
Thanks for pointing that out. I'll then revert commit e5fcc16.
elboletaire commented
@t2d can you try now and tell me? 😃
t2d commented
thanks, works fine
elboletaire commented
Nice 👍