Different tasks added
This commit is contained in:
14
update-hostname.yml
Normal file
14
update-hostname.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
# Update all hostnames from ansible_inventory
|
||||
#
|
||||
# Run:
|
||||
# ansible-playbook -i inventory/hosts tasks/system/network/update-hostname.yml
|
||||
#
|
||||
# Prepare:
|
||||
# See readme.md and init your workspace
|
||||
# This playbook will update the hostname of the remote hosts to match the inventory. It will also update the /etc/hosts file to reflect the new hostname.
|
||||
- hosts: all
|
||||
|
||||
roles:
|
||||
|
||||
- network
|
||||
Reference in New Issue
Block a user