Compare commits
3 Commits
f60eaa9c04
...
fdeb143a56
Author | SHA1 | Date | |
---|---|---|---|
fdeb143a56 | |||
f7b5c475d5 | |||
39c0170705 |
12
playbooks/device_roles_bastion.yml
Executable file
12
playbooks/device_roles_bastion.yml
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env ansible-playbook
|
||||||
|
# vim:ft=ansible:
|
||||||
|
---
|
||||||
|
# Home desktops
|
||||||
|
- hosts: device_roles_bastion
|
||||||
|
roles:
|
||||||
|
- role: backup
|
||||||
|
vars:
|
||||||
|
backup_s3backup_tar_args_extra: h
|
||||||
|
backup_s3backup_list_extra:
|
||||||
|
- /home/salt/.backup/
|
||||||
|
tags: [ backup ]
|
@ -2,7 +2,8 @@
|
|||||||
- name: docker deploy netbox
|
- name: docker deploy netbox
|
||||||
docker_container:
|
docker_container:
|
||||||
name: netbox
|
name: netbox
|
||||||
image: netboxcommunity/netbox:v3.0.1
|
image: netboxcommunity/netbox:v3.0.2
|
||||||
|
user: 101
|
||||||
env:
|
env:
|
||||||
SUPERUSER_EMAIL: rehashedsalt@cock.li
|
SUPERUSER_EMAIL: rehashedsalt@cock.li
|
||||||
SUPERUSER_PASSWORD: "{{ secret_netbox_user_pass }}"
|
SUPERUSER_PASSWORD: "{{ secret_netbox_user_pass }}"
|
||||||
|
3
site.yml
3
site.yml
@ -10,6 +10,9 @@
|
|||||||
- import_playbook: playbooks/tags_zerotier.yml
|
- import_playbook: playbooks/tags_zerotier.yml
|
||||||
- import_playbook: playbooks/tags_snmp.yml
|
- import_playbook: playbooks/tags_snmp.yml
|
||||||
- import_playbook: playbooks/tags_nagios.yml
|
- import_playbook: playbooks/tags_nagios.yml
|
||||||
|
# Role (in the Netbox sense) configuration
|
||||||
|
- import_playbook: playbooks/device_roles_bastion.yml
|
||||||
|
- import_playbook: playbooks/device_roles_workstation.yml
|
||||||
# Home configuration
|
# Home configuration
|
||||||
- import_playbook: playbooks/home_media.yml
|
- import_playbook: playbooks/home_media.yml
|
||||||
# Production configuration
|
# Production configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user