Desktop setup

This commit is contained in:
Jonathan Cremin 2020-04-29 21:51:12 +01:00
commit a7eaa7dbfb
14 changed files with 325 additions and 0 deletions

View file

@ -0,0 +1,29 @@
---
- name: Try nmcli add Ethernet - conn_name only & ip4 gw4
nmcli:
type: ethernet
conn_name: "Wired connection 1"
ifname: enp8s0
ip4: 10.0.1.2
gw4: 10.0.1.1
dns4: 9.9.9.9
state: present
become: yes
- name: Try nmcli add Ethernet - conn_name only & ip4 gw4
nmcli:
type: ethernet
conn_name: "Wired connection 2"
ifname: enp9s0
ip4: 10.0.1.9
gw4: 10.0.1.1
dns4: 9.9.9.9
state: present
become: yes
- name: Restart network
service:
name: NetworkManager
state: restarted
become: yes