1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_linux_desktop_setup.git synced 2024-09-14 19:54:51 +02:00
ansible_linux_desktop_setup/roles/networkmanager/tasks/main.yml

34 lines
570 B
YAML
Raw Normal View History

2019-02-21 14:25:31 +01:00
---
- name: install needed packages on arch
become: yes
2019-04-07 19:08:27 +02:00
pacman:
2019-02-21 14:25:31 +01:00
name:
- wireless_tools
- iw
- crda
- networkmanager
2019-04-07 19:08:27 +02:00
- dnsutils
2019-02-21 14:25:31 +01:00
- mtr
2019-04-07 19:08:27 +02:00
state: latest
when: ansible_distribution == 'Archlinux'
- name: install needed packages for NetworkManager
become: yes
package:
name:
- dialog
- wpa_supplicant
- NetworkManager
2019-02-21 14:25:31 +01:00
- network-manager-applet
- nm-connection-editor
state: latest
2019-04-07 19:08:27 +02:00
- name: enable networkmanaiger
2019-02-21 14:25:31 +01:00
become: yes
systemd:
name: NetworkManager.service
enabled: yes