Configure machine's hostname as code.openneo.net
This commit is contained in:
parent
7e9ca2023c
commit
fcc9a0a3ce
1 changed files with 5 additions and 1 deletions
|
@ -1,9 +1,13 @@
|
|||
---
|
||||
- name: Set up user accounts
|
||||
- name: Set up host config & user accounts
|
||||
hosts: webserver
|
||||
become: yes
|
||||
become_user: root
|
||||
tasks:
|
||||
- name: Set hostname to code.openneo.net
|
||||
hostname:
|
||||
name: code.openneo.net
|
||||
|
||||
- name: Create user account for matchu
|
||||
user:
|
||||
name: matchu
|
Loading…
Reference in a new issue