Compare commits
2 Commits
2b7202f01c
...
6e457b2be3
Author | SHA1 | Date | |
---|---|---|---|
6e457b2be3 | |||
7197ff9140 |
7
base.yml
7
base.yml
@@ -8,11 +8,10 @@
|
|||||||
#===================================================================================================
|
#===================================================================================================
|
||||||
|
|
||||||
---
|
---
|
||||||
- hosts: ubuntu
|
- hosts: all
|
||||||
remote_user: ansible
|
remote_user: root
|
||||||
become: true
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- setup
|
||||||
|
|
||||||
# Clean up the system
|
# Clean up the system
|
||||||
- hosts: ubuntu
|
- hosts: ubuntu
|
||||||
|
41
inventory/hosts.yml
Normal file
41
inventory/hosts.yml
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# ===================================================================================================
|
||||||
|
# ? ABOUT
|
||||||
|
# @author : Noah Knegt
|
||||||
|
# @email : personal@noahknegt.com
|
||||||
|
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
|
||||||
|
# @createdOn : 27-03-2023
|
||||||
|
# @description : This file contains the hosts for ansible.
|
||||||
|
# ===================================================================================================
|
||||||
|
|
||||||
|
---
|
||||||
|
vpses:
|
||||||
|
hosts:
|
||||||
|
vps1-contabo:
|
||||||
|
ansible_host: 161.97.139.67
|
||||||
|
ansible_port: 4422
|
||||||
|
|
||||||
|
pis:
|
||||||
|
hosts:
|
||||||
|
pi1:
|
||||||
|
ansible_host: 192.168.90.2
|
||||||
|
pi2:
|
||||||
|
ansible_host: 192.168.90.3
|
||||||
|
|
||||||
|
equinox-servers:
|
||||||
|
hosts:
|
||||||
|
apollo:
|
||||||
|
ansible_host: 23.97.157.206
|
||||||
|
ansible_port: 2004
|
||||||
|
|
||||||
|
all:
|
||||||
|
children:
|
||||||
|
home:
|
||||||
|
children:
|
||||||
|
pis:
|
||||||
|
datacenter:
|
||||||
|
children:
|
||||||
|
vpses:
|
||||||
|
equinox:
|
||||||
|
children:
|
||||||
|
equinox-servers:
|
||||||
|
|
@@ -1,6 +0,0 @@
|
|||||||
[private]
|
|
||||||
vps1 ansible_host=vps.noahknegt.com:4422
|
|
||||||
rpi1 ansible_host=192.168.90.2
|
|
||||||
|
|
||||||
[equinox]
|
|
||||||
apollo ansible_host=apollo.svequinox.nl:2004
|
|
Reference in New Issue
Block a user