comment change hostname

This commit is contained in:
Ruben Blanco 2023-10-16 14:56:24 +02:00
parent 45dfc75187
commit 81c94142e1
1 changed files with 9 additions and 4 deletions

View File

@ -1,10 +1,15 @@
--- ---
# change hostname # change hostname
- name: change hostname #- name: change hostname
hostname: # hostname:
name: "{{ hostname_name }}" # name: "{{ hostname_name }}"
when: hostname_name is defined # when: hostname_name is defined
# Print hostname nodename
- name: Print hostname nodename
debug:
msg: system nodename is "{{ ansible_nodename }}"
# Reconfigure locales - enable en_US-UTF8 and es_ES-UTF8 # Reconfigure locales - enable en_US-UTF8 and es_ES-UTF8
- name: reconfigure locales enable en_US-UTF8 and es_ES-UTF8 - name: reconfigure locales enable en_US-UTF8 and es_ES-UTF8