computer-playbook/roles/server_native-hostname/tasks/main.yml

4 lines
98 B
YAML
Raw Normal View History

2021-01-01 15:17:13 +01:00
- name: set hostname to {{ inventory_hostname }}
hostname:
name: "{{ inventory_hostname }}"