blob: 7c67f8aa2aa702d06fe1bf1bdfd3d27de5f7ae7d [file] [log] [blame]
Zack Williams048c6832020-08-02 21:14:35 -07001---
2# netbox molecule/default/prepare.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
7- name: Prepare for NetBox by installing dependency roles
8 hosts: all
9
10 vars:
11 pgsql_users:
12 - name: "netboxuser"
13 password: "netboxpass"
14 pgsql_databases:
15 - name: "netbox"
16 owner: "netboxuser"
17
18 pre_tasks:
19 - name: Install GPG to support adding apt repo keys
20 apt:
21 name: "gpg"
22 state: "present"
23 update_cache: true
24
25 roles:
26 - postgresql
27 - redis