blob: 7c67f8aa2aa702d06fe1bf1bdfd3d27de5f7ae7d [file] [log] [blame]
---
# netbox molecule/default/prepare.yml
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
- name: Prepare for NetBox by installing dependency roles
hosts: all
vars:
pgsql_users:
- name: "netboxuser"
password: "netboxpass"
pgsql_databases:
- name: "netbox"
owner: "netboxuser"
pre_tasks:
- name: Install GPG to support adding apt repo keys
apt:
name: "gpg"
state: "present"
update_cache: true
roles:
- postgresql
- redis