Debian Codegraph @

ansible_collections/community/mongodb/roles/mongodb_mongos/handlers/main.yml

raw
1 ---
2 - name: Restart mongos
3 listen: Restart mongos service
4 ansible.builtin.service:
5 name: "{{ mongos_service }}"
6 state: restarted
7 when: not skip_restart
8
9 - name: Wait for port to become active
10 listen: Restart mongos service
11 ansible.builtin.wait_for:
12 host: "{{ bind_ip | split(',') | first }}"
13 port: "{{ mongos_port }}"
14 when: not skip_restart