blob: 0f231c4185ba9fd6849cbc63bf536c0a4965f7de [file] [log] [blame]
Zack Williams048c6832020-08-02 21:14:35 -07001---
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"