added inventories from svn
This commit is contained in:
parent
071d2a628b
commit
e7da3cad2a
9
inventories/inventory_home.ini
Normal file
9
inventories/inventory_home.ini
Normal 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
|
35
inventories/inventory_jens.ini
Normal file
35
inventories/inventory_jens.ini
Normal 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
|
31
inventories/inventory_jens.yml
Normal file
31
inventories/inventory_jens.yml
Normal 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
25
inventories/inventory_jh
Normal 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
|
25
inventories/inventory_jh.ini
Normal file
25
inventories/inventory_jh.ini
Normal 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
|
6
inventories/inventory_pi.ini
Normal file
6
inventories/inventory_pi.ini
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[pi]
|
||||||
|
raspberrypi1.seboto.net
|
||||||
|
raspberrypi2.seboto.net
|
||||||
|
raspberrypi3.seboto.net
|
||||||
|
raspberrypi4.seboto.net
|
||||||
|
raspberrypi5.seboto.net
|
9
inventories/inventory_pi.yml
Normal file
9
inventories/inventory_pi.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
all:
|
||||||
|
hosts:
|
||||||
|
raspberrypi1.seboto.net:
|
||||||
|
raspberrypi2.seboto.net:
|
||||||
|
raspberrypi3.seboto.net:
|
||||||
|
raspberrypi4.seboto.net:
|
||||||
|
raspberrypi5.seboto.net:
|
||||||
|
...
|
4
inventories/inventory_seboto.ini
Normal file
4
inventories/inventory_seboto.ini
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[vps]
|
||||||
|
srv1.seboto.de
|
||||||
|
srv2.seboto.de
|
||||||
|
srv3.seboto.de
|
7
inventories/inventory_seboto.yml
Normal file
7
inventories/inventory_seboto.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
all:
|
||||||
|
hosts:
|
||||||
|
srv1.seboto.de:
|
||||||
|
srv2.seboto.de:
|
||||||
|
srv3.seboto.de:
|
||||||
|
...
|
11
playbooks/play1.yml
Normal file
11
playbooks/play1.yml
Normal 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"
|
||||||
|
...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user