Configure machine's hostname as code.openneo.net

This commit is contained in:
Emi Matchu 2024-06-10 12:53:56 -07:00
parent 7e9ca2023c
commit fcc9a0a3ce

View file

@ -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