Zack Williams | 048c683 | 2020-08-02 21:14:35 -0700 | [diff] [blame^] | 1 | --- |
2 | # netbox handlers/main.yml | ||||
3 | # | ||||
4 | # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> | ||||
5 | # SPDX-License-Identifier: Apache-2.0 | ||||
6 | |||||
7 | - name: start-netbox | ||||
8 | service: | ||||
9 | name: "{{ item }}" | ||||
10 | state: "started" | ||||
11 | enabled: true | ||||
12 | with_items: | ||||
13 | - "netbox" | ||||
14 | - "netbox-rq" | ||||
15 | |||||
16 | - name: restart-netbox | ||||
17 | service: | ||||
18 | name: "{{ item }}" | ||||
19 | state: "restarted" | ||||
20 | with_items: | ||||
21 | - "netbox" | ||||
22 | - "netbox-rq" |