Compare commits
3 Commits
c299e505cf
...
429a756a60
Author | SHA1 | Date | |
---|---|---|---|
429a756a60 | |||
360238fdd4 | |||
6aef1be67b |
1
inventory-hard/group_vars
Symbolic link
1
inventory-hard/group_vars
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../inventory/group_vars
|
1
inventory-hard/host_vars
Symbolic link
1
inventory-hard/host_vars
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../inventory/host_vars
|
3
inventory-hard/hosts.yml
Normal file
3
inventory-hard/hosts.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
all:
|
||||||
|
hosts:
|
||||||
|
web3.desu.ltd:
|
@ -2,7 +2,7 @@
|
|||||||
- name: docker deploy netbox
|
- name: docker deploy netbox
|
||||||
docker_container:
|
docker_container:
|
||||||
name: netbox
|
name: netbox
|
||||||
image: netboxcommunity/netbox:latest
|
image: netboxcommunity/netbox:v2.11
|
||||||
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,7 +3,7 @@
|
|||||||
- name: configure packages via apt
|
- name: configure packages via apt
|
||||||
block:
|
block:
|
||||||
- name: update apt packages
|
- name: update apt packages
|
||||||
apt: upgrade=yes autoremove=yes update_cache=yes cache_valid_time=86400
|
apt: upgrade=yes update_cache=yes cache_valid_time=86400
|
||||||
- name: install basic packages
|
- name: install basic packages
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
@ -34,4 +34,6 @@
|
|||||||
- whois
|
- whois
|
||||||
- name: remove basic packages
|
- name: remove basic packages
|
||||||
apt: state=absent name=unattended-upgrades
|
apt: state=absent name=unattended-upgrades
|
||||||
|
- name: autoremove
|
||||||
|
apt: autoremove=yes
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
Loading…
Reference in New Issue
Block a user