---
- name: restart consul
  sudo: yes
  command: /usr/local/bin/consul-rolling-restart.sh
  notify:
    - wait for consul to listen

- name: restart nginx-consul
  sudo: yes
  command: systemctl restart nginx-consul

---
- name: restart consul
  sudo: yes
  command: /usr/local/bin/consul-rolling-restart.sh {{ consul_acl_master_token }}
  notify:
    - wait for consul to listen

- name: restart nginx-consul
  sudo: yes
  command: systemctl restart nginx-consul

Add master token to restart handler
Add master token to restart handler
