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] [production]
node10 ansible_host=192.168.1.10 server1 ansible_host=<XX.XX.XX.XX>
node33 ansible_host=192.168.1.33 server5 ansible_host=<XX.XX.XX.XX> my_user=<OTHER_USERNAME> inventory_fqdn=subd.somedomain.ltd
[staging] [backup]
node20 ansible_host=192.168.1.20 server2 ansible_host=<XX.XX.XX.XX>
node44 ansible_host=192.168.1.44 server4 ansible_host=<XX.XX.XX.XX>
[devel]
server3 ansible_host=<XX.XX.XX.XX>
[station] [station]
localhost station1 ansible_host=192.168.xx.xx
node11 ansible_host=192.168.1.11 station3 ansible_host=192.168.xx.xx my_user=<OTHER_USERNAME>
node22 ansible_host=192.168.1.22 station4 ansible_host=192.168.xx.xx
station5 ansible_host=192.168.xx.xx
[gnome] [gnome]
node11 station1
station5
[mate] [mate]
node2 station3
station4
[provider_b]
server5
[pve]
server[2:4]
[provider_a]
server[1:4]
[vps]
server5
[workstat] [workstat]
node11 station1
station3
station5
[web]
server5
server1
[physical:children] [zfs]
station station1
station3
station4
server[2:4]
[server:children]
pve
[station:children] [station:children]
gnome gnome
mate mate
workstat workstat
[vps:children]
provider_b
[all:vars] [all:vars]
inventory_fqdn="{{ inventory_hostname }}.local" gateway=<XX.XX.XX.XX>
ldp_token="<PUT-YOURS-HERE>" inventory_fqdn="{{ inventory_hostname }}.domain.ltd"
ldp_zone="<PUT-YOURS-HERE>" ldp_token=<LDP_TOKEN>
my_user="<USERNAME>" ldp_zone=<LDP_ZONE>
timezone="UTC"
user_shell=/bin/bash user_shell=/bin/bash
[backup:vars] [backup:vars]
backup_user="<BACKUP_USERNAME>" backup_user=<BACKUP_USERNAME>
[pve:vars]
[server:vars]
gateway="<GATEWAY_IP>"
inventory_fqdn="{{ inventory_hostname }}.domain.tld"
timezone="UTC"
gateway="<GATEWAY_IP>"
[station:vars] [station:vars]
inventory_fqdn="{{ inventory_hostname }}.local"
my_user=<USERNAME>
timezone="Europe/Paris" timezone="Europe/Paris"
user_shell=/bin/zsh
[all:vars] [workstation:vars]
ldp_token="put-yours-here" timezone="Europe/Paris"
ldp_zone="put-yours-here"
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