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
|
hosts: webserver
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Set hostname to code.openneo.net
|
||||||
|
hostname:
|
||||||
|
name: code.openneo.net
|
||||||
|
|
||||||
- name: Create user account for matchu
|
- name: Create user account for matchu
|
||||||
user:
|
user:
|
||||||
name: matchu
|
name: matchu
|
Loading…
Reference in a new issue