- Put desired information into hostnames.json
- Comment out whole 'ZABBIX SECTION' in pl-rename.yml if zabbix is not installed.
- Run
ansible-playbook pl-rename.yml --extra-vars="hosts_group=<name of hostgroup from your 'hosts' file>"
- Enjoy 💯
-
Notifications
You must be signed in to change notification settings - Fork 0
ANSIBLE batch rename hostnames. It works with systemd, but can easily be adopted for init systems.
License
magzim21/ansible_change_hostnames
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ANSIBLE batch rename hostnames. It works with systemd, but can easily be adopted for init systems.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published