mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
hostname
This commit is contained in:
parent
32ceb04fab
commit
4ec4adb906
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,9 @@
|
|||
hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Change hostname
|
||||
ansible.builtin.hostname:
|
||||
name: "{{ inventory_hostname }}"
|
||||
- name: apt update
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue