You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
579 B

---
- name: Set up network stuff
hosts: localhost
connection: local
become: false
vars:
uid: "{{ lookup('env','USER') }}"
tasks:
- name: Allow nm-applet to set wifi
become: true
ansible.builtin.template:
src: ../templates/org.freedesktop.NetworkManager.policy.j2
dest: /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy
- name: Manage ifupdown in NM
become: true
ansible.builtin.lineinfile:
path: /etc/NetworkManager/NetworkManager.conf
regex: managed=false
line: managed=true