dotfiles/tasks/network.yml

29 lines
598 B
YAML
Raw Normal View History

- name: Install networking tools
2019-05-27 12:02:02 +01:00
aur:
skip_installed: true
name: "{{ item }}"
become: true
become_user: aur_builder
when: item not in installed_packages.stdout_lines
loop:
- bind-tools
- gnu-netcat
- nmap
2019-05-27 12:02:02 +01:00
- name: Install NetworkManager and associated tools
2019-05-27 12:02:02 +01:00
aur:
skip_installed: true
name: "{{ item }}"
become: true
become_user: aur_builder
when: item not in installed_packages.stdout_lines
loop:
- networkmanager
- network-manager-applet
2019-05-27 12:02:02 +01:00
- name: Enable NetworkManger
2019-05-27 12:02:02 +01:00
systemd:
name: NetworkManager
2019-05-27 12:02:02 +01:00
enabled: true
state: started