nuriel77 / iri-playbook

IOTA IRI Fullnode Installation Playbook
MIT License
105 stars 24 forks source link

Updating Nelson does not trigger a restart of the service #54

Closed tctovsli closed 6 years ago

tctovsli commented 6 years ago

Running the documented procedure for updating nelson does not trigger service restart.

[root@iota-node01 iri-playbook]# ansible-playbook -i inventory -v site.yml --tags=nelson_npm -e "nelson_enabled=true"
Using /etc/ansible/ansible.cfg as config file
 [WARNING]: Ignoring invalid attribute: sudo

 [WARNING]: Ignoring invalid attribute: false_when

PLAY [fullnode] *****************************************************************************************************************************************************************************************************************************

TASK [Gathering Facts] **********************************************************************************************************************************************************************************************************************
ok: [localhost]

TASK [nelson : Stop any active nelson service] **********************************************************************************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [nelson : Remove current nelson package] ***********************************************************************************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [nelson : Install nelson package] ******************************************************************************************************************************************************************************************************
changed: [localhost] => {"changed": true}

PLAY RECAP **********************************************************************************************************************************************************************************************************************************
localhost                  : ok=2    changed=1    unreachable=0    failed=0
nuriel77 commented 6 years ago

Thanks. Added here: https://github.com/nuriel77/iri-playbook/commit/e6f6c99c3d3ece6bac5184d401650b606987a985