added hostname
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
hostname: 'test-vm'
|
||||||
|
|
||||||
- name: Basic Arch Linux installation
|
- name: Basic Arch Linux installation
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
@@ -95,6 +97,10 @@
|
|||||||
group: tobi
|
group: tobi
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
|
- name: Set a hostname
|
||||||
|
hostname:
|
||||||
|
name: "{{ hostname }}"
|
||||||
|
|
||||||
# - name: Add ssh-rsa to ssh config as this seems to be disabled by default
|
# - name: Add ssh-rsa to ssh config as this seems to be disabled by default
|
||||||
# blockinfile:
|
# blockinfile:
|
||||||
# path: /etc/ssh/ssh_config
|
# path: /etc/ssh/ssh_config
|
||||||
|
|||||||
Reference in New Issue
Block a user