added hostname
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user