diff --git a/arch_basics.yaml b/arch_basics.yaml index 4d226db..abe5944 100644 --- a/arch_basics.yaml +++ b/arch_basics.yaml @@ -1,4 +1,6 @@ --- +hostname: 'test-vm' + - name: Basic Arch Linux installation hosts: localhost pre_tasks: @@ -95,6 +97,10 @@ group: tobi mode: '0644' + - name: Set a hostname + hostname: + name: "{{ hostname }}" + # - name: Add ssh-rsa to ssh config as this seems to be disabled by default # blockinfile: # path: /etc/ssh/ssh_config