mirror of
https://github.com/DO1JLR/ansible_linux_desktop_setup.git
synced 2024-09-14 19:54:51 +02:00
improve networkmanager
This commit is contained in:
parent
c8116f703d
commit
e853e367cd
1 changed files with 16 additions and 6 deletions
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: install needed packages on arch
|
- name: install needed packages on arch
|
||||||
become: yes
|
become: yes
|
||||||
pacman:
|
pacman:
|
||||||
|
@ -13,21 +12,32 @@
|
||||||
state: latest
|
state: latest
|
||||||
when: ansible_distribution == 'Archlinux'
|
when: ansible_distribution == 'Archlinux'
|
||||||
|
|
||||||
|
- name: install Networkmanager
|
||||||
|
become: yes
|
||||||
|
dnf:
|
||||||
|
name: NetworkManager
|
||||||
|
state: present
|
||||||
|
when: ansible_distribution == Fedora
|
||||||
|
|
||||||
|
- name: install NetworkManager
|
||||||
|
become: yes
|
||||||
|
apt:
|
||||||
|
name: networkmanager
|
||||||
|
state: present
|
||||||
|
when: ansible_os_family == Debian
|
||||||
|
|
||||||
- name: install needed packages for NetworkManager
|
- name: install needed packages for NetworkManager
|
||||||
become: yes
|
become: yes
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- dialog
|
- dialog
|
||||||
- wpa_supplicant
|
- wpa_supplicant
|
||||||
- NetworkManager
|
|
||||||
- network-manager-applet
|
- network-manager-applet
|
||||||
- nm-connection-editor
|
- nm-connection-editor
|
||||||
state: latest
|
state: present
|
||||||
|
|
||||||
- name: enable networkmanaiger
|
- name: enable networkmanager
|
||||||
become: yes
|
become: yes
|
||||||
systemd:
|
systemd:
|
||||||
name: NetworkManager.service
|
name: NetworkManager.service
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue