Marcus Christie commented on AIRAVATA-2673:

Maybe use extra vars: https://serverfault.com/a/675076 to add a "force restart" 
task to each of the Airavata service roles. Something like

- name: Force restart of zookeeper
  command: /bin/true
  when: force_restart | bool
    - restart zookeeper

Then run something like:
ansible-playbook --vault-password-file=vault-password.txt -i 
inventories/scigap/develop/ -e "force_restart=true" airavata.yml

However, another thing one might want is to only do a restart. In that case a 
tag would be needed as well. Perhaps the best way to manage it would be to have 
a separate restart_airavata.yml playbook that would only run "restart" tagged 
tasks and would add the force_restart variable to run the task that forces a 

> Ansible: script to restart all Airavata services
> ------------------------------------------------
>                 Key: AIRAVATA-2673
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2673
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major

This message was sent by Atlassian JIRA

Reply via email to