init
This commit is contained in:
11
ansible/playbooks/node/change_hostname.yml
Normal file
11
ansible/playbooks/node/change_hostname.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: change hostname
|
||||
hosts: test
|
||||
become: true
|
||||
gather_facts: false
|
||||
roles:
|
||||
- role: node/change_hostname
|
||||
vars:
|
||||
hostname: "dev-lviv01-vm-k8s-worker-01"
|
||||
|
||||
# ansible-playbook playbooks/node/change_hostname.yml -i inventory-local.ini
|
||||
Reference in New Issue
Block a user