added inventories from svn

This commit is contained in:
Jens Heinitz 2021-06-10 16:05:56 +02:00
parent 071d2a628b
commit e7da3cad2a
10 changed files with 162 additions and 0 deletions

View File

@ -0,0 +1,9 @@
[pi]
raspberrypi1.seboto.net
raspberrypi2.seboto.net
raspberrypi3.seboto.net
raspberrypi4.seboto.net
raspberrypi5.seboto.net
[pi:vars]
ansible_user=pi

View File

@ -0,0 +1,35 @@
#server1.seboto.net ansible_user=jens
#server1.seboto.net ansible_user=root
server1.seboto.net
[alma]
alma1.seboto.net
[seboto]
srv1.seboto.de
srv2.seboto.de
srv3.seboto.de
[pi]
raspberrypi1.seboto.net
raspberrypi2.seboto.net
raspberrypi3.seboto.net
raspberrypi4.seboto.net
raspberrypi5.seboto.net
[one]
srv1.seboto.de
raspberrypi1.seboto.net
[vip]
srv2.seboto.de
raspberrypi3.seboto.net
[pi:vars]
ansible_user=pi
[alma:vars]
ansible_user=jens
[all:vars]
ansible_python_interpreter=/usr/bin/python3

View File

@ -0,0 +1,31 @@
---
all:
hosts:
server1.seboto.net:
ansible_user: jens
children:
seboto:
hosts:
srv1.seboto.de:
srv2.seboto.de:
srv3.seboto.de:
pi:
hosts:
raspberrypi1.seboto.net:
ansible_user: pi
raspberrypi2.seboto.net:
ansible_user: pi
raspberrypi3.seboto.net:
ansible_user: pi
raspberrypi4.seboto.net:
ansible_user: pi
raspberrypi5.seboto.net:
ansible_user: pi
vip:
hosts:
srv2.seboto.de:
raspberrypi3.seboto.net:
ansible_user: pi
vars:
ansible_python_interpreter: /usr/bin/python3
...

25
inventories/inventory_jh Normal file
View File

@ -0,0 +1,25 @@
[seboto]
srv1.seboto.de
srv2.seboto.de
srv3.seboto.de
[pi]
raspberrypi1.seboto.net
raspberrypi2.seboto.net
raspberrypi3.seboto.net
raspberrypi4.seboto.net
raspberrypi5.seboto.net
[one]
srv1.seboto.de
raspberrypi1.seboto.net
[vip]
srv2.seboto.de
raspberrypi3.seboto.net
[pi:vars]
ansible_user=pi
[all:vars]
ansible_python_interpreter=/usr/bin/python3

View File

@ -0,0 +1,25 @@
[seboto]
srv1.seboto.de
srv2.seboto.de
srv3.seboto.de
[pi]
raspberrypi1.seboto.net
raspberrypi2.seboto.net
raspberrypi3.seboto.net
raspberrypi4.seboto.net
raspberrypi5.seboto.net
[one]
srv1.seboto.de
raspberrypi1.seboto.net
[vip]
srv2.seboto.de
raspberrypi3.seboto.net
[pi:vars]
ansible_user=pi
[all:vars]
ansible_python_interpreter=/usr/bin/python3

View File

@ -0,0 +1,6 @@
[pi]
raspberrypi1.seboto.net
raspberrypi2.seboto.net
raspberrypi3.seboto.net
raspberrypi4.seboto.net
raspberrypi5.seboto.net

View File

@ -0,0 +1,9 @@
---
all:
hosts:
raspberrypi1.seboto.net:
raspberrypi2.seboto.net:
raspberrypi3.seboto.net:
raspberrypi4.seboto.net:
raspberrypi5.seboto.net:
...

View File

@ -0,0 +1,4 @@
[vps]
srv1.seboto.de
srv2.seboto.de
srv3.seboto.de

View File

@ -0,0 +1,7 @@
---
all:
hosts:
srv1.seboto.de:
srv2.seboto.de:
srv3.seboto.de:
...

11
playbooks/play1.yml Normal file
View File

@ -0,0 +1,11 @@
---
- name: playbook for test
hosts: server1.seboto.net
remote_user: test1
tasks:
- name: Test Message
debug:
msg: "This is a test"
...