ansible-desktop/roles/desktop/tasks/network-manager.yml

16 lines
366 B
YAML
Raw Normal View History

2024-05-11 10:55:24 +00:00
- name: "[Arch] install nm packages"
become: yes
community.general.pacman:
name:
- networkmanager
- network-manager-applet
- nm-connection-editor
when: ansible_distribution == "Archlinux"
- name: "[All] Enable network manager"
become: yes
ansible.builtin.systemd:
name: NetworkManager.service
state: started
enabled: yes