Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
ds2600 committed Jan 13, 2024
1 parent 3f7d145 commit 356aa8f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ An Ansible playbook to run through the installation process of [Netbox](https://

## Current Installation Process
1. Ensure your Ansible control node can communicate with your desired Netbox server
2. Copy `inventory.example.yml` to `inventory.yml` and modify the IP address and `ansible_user` to reflect your environment
3. Copy `config.example.yml` to `config.yml` and add the superuser name, email and password
4. Run `ansible-playbook main.yml`
2. Copy `inventory.example.yml` to `inventory.yml` and modify to reflect your environment
3. Copy `config.example.yml` to `config.yml` and add the Netbox superuser name, database name and database user.
4. Run `ansible-vault create secrets.yml`, enter a password for the vault and add the following variables to the file:
```yaml
db_password: <your-database-password>
nb_password: <netbox-superuser-password>
nb_email: <netbox-superuser-password>

```
5. Run `ansible-playbook main.yml`
6 changes: 3 additions & 3 deletions config.example.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
# Database information
db_user: netbox_user
db_name: netbox
db_user: <database-user>
db_name: <database-name>

# Netbox Superuser information
nb_superuser: netbox_su
nb_superuser: <netbox-superuser>

# Netbox version
netbox_vers: 3.7.0
4 changes: 2 additions & 2 deletions inventory.example.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[netbox]
0.0.0.0
<your-netbox-server>

[netbox:vars]
ansible_connection=ssh
ansible_user=root
ansible_user=<server-username>

0 comments on commit 356aa8f

Please sign in to comment.