Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 899e9efc authored by freezed's avatar freezed :mountain:
Browse files

:wrench: Massive inventory update

Put all stuff mentionned in tasks.
For now inventory contains variable to ease maintenance, but it could be better to
store variables in a better place.
TODO: convert invotory INI format in YML (to give a try)
parent 767e1275
Branches base
No related tags found
No related merge requests found
[production]
node10 ansible_host=192.168.1.10
node33 ansible_host=192.168.1.33
server1 ansible_host=<XX.XX.XX.XX>
server5 ansible_host=<XX.XX.XX.XX> my_user=<OTHER_USERNAME> inventory_fqdn=subd.somedomain.ltd
[staging]
node20 ansible_host=192.168.1.20
node44 ansible_host=192.168.1.44
[backup]
server2 ansible_host=<XX.XX.XX.XX>
server4 ansible_host=<XX.XX.XX.XX>
[devel]
server3 ansible_host=<XX.XX.XX.XX>
[station]
localhost
node11 ansible_host=192.168.1.11
node22 ansible_host=192.168.1.22
station1 ansible_host=192.168.xx.xx
station3 ansible_host=192.168.xx.xx my_user=<OTHER_USERNAME>
station4 ansible_host=192.168.xx.xx
station5 ansible_host=192.168.xx.xx
[gnome]
node11
station1
station5
[mate]
node2
station3
station4
[provider_b]
server5
[pve]
server[2:4]
[provider_a]
server[1:4]
[vps]
server5
[workstat]
node11
station1
station3
station5
[web]
server5
server1
[physical:children]
station
[zfs]
station1
station3
station4
server[2:4]
[server:children]
pve
[station:children]
gnome
mate
workstat
[vps:children]
provider_b
[all:vars]
inventory_fqdn="{{ inventory_hostname }}.local"
ldp_token="<PUT-YOURS-HERE>"
ldp_zone="<PUT-YOURS-HERE>"
my_user="<USERNAME>"
gateway=<XX.XX.XX.XX>
inventory_fqdn="{{ inventory_hostname }}.domain.ltd"
ldp_token=<LDP_TOKEN>
ldp_zone=<LDP_ZONE>
timezone="UTC"
user_shell=/bin/bash
[backup:vars]
backup_user="<BACKUP_USERNAME>"
[pve:vars]
[server:vars]
gateway="<GATEWAY_IP>"
inventory_fqdn="{{ inventory_hostname }}.domain.tld"
timezone="UTC"
gateway="<GATEWAY_IP>"
backup_user=<BACKUP_USERNAME>
[station:vars]
inventory_fqdn="{{ inventory_hostname }}.local"
my_user=<USERNAME>
timezone="Europe/Paris"
user_shell=/bin/zsh
[all:vars]
ldp_token="put-yours-here"
ldp_zone="put-yours-here"
[workstation:vars]
timezone="Europe/Paris"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment