Добавил правку hostname в соответствии с inventory
This commit is contained in:
parent
6477db7f37
commit
90f0f37f2b
@ -1,2 +1,2 @@
|
|||||||
[localgroup]
|
[localgroup]
|
||||||
localhost connection=local
|
gitlab ansible_connection=ssh ansible_ssh_host=192.168.100.11 ansible_ssh_user=losted ansible_ssh_common_args='-o StrictHostKeyChecking=no'
|
||||||
|
@ -34,3 +34,6 @@
|
|||||||
template:
|
template:
|
||||||
src: files/screenrc
|
src: files/screenrc
|
||||||
dest: /etc/screenrc
|
dest: /etc/screenrc
|
||||||
|
- name: Change hostname
|
||||||
|
ansible.builtin.hostname:
|
||||||
|
name: "{{ inventory_hostname }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user