Add networking things
This commit is contained in:
parent
ea3aba289d
commit
681ce93239
2 changed files with 29 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
file: vars.yml
|
file: vars.yml
|
||||||
- import_tasks: tasks/user.yml
|
- import_tasks: tasks/user.yml
|
||||||
- import_tasks: tasks/packages.yml
|
- import_tasks: tasks/packages.yml
|
||||||
|
- import_tasks: tasks/network.yml
|
||||||
- import_tasks: tasks/python.yml
|
- import_tasks: tasks/python.yml
|
||||||
- import_tasks: tasks/vim.yml
|
- import_tasks: tasks/vim.yml
|
||||||
- import_tasks: tasks/intersect.yml
|
- import_tasks: tasks/intersect.yml
|
||||||
|
|
28
tasks/network.yml
Normal file
28
tasks/network.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
- name: "Install networking tools"
|
||||||
|
aur:
|
||||||
|
skip_installed: true
|
||||||
|
name: "{{ item }}"
|
||||||
|
become: true
|
||||||
|
become_user: aur_builder
|
||||||
|
when: "item not in installed_packages.stdout_lines"
|
||||||
|
with_items:
|
||||||
|
- 'bind-tools'
|
||||||
|
- 'gnu-netcat'
|
||||||
|
- 'nmap'
|
||||||
|
|
||||||
|
- name: "Install NetworkManager and associated tools"
|
||||||
|
aur:
|
||||||
|
skip_installed: true
|
||||||
|
name: "{{ item }}"
|
||||||
|
become: true
|
||||||
|
become_user: aur_builder
|
||||||
|
when: "item not in installed_packages.stdout_lines"
|
||||||
|
with_items:
|
||||||
|
- 'networkmanager'
|
||||||
|
- 'network-manager-applet'
|
||||||
|
|
||||||
|
- name: "Enable NetworkManger"
|
||||||
|
systemd:
|
||||||
|
name: "NetworkManager"
|
||||||
|
enabled: true
|
||||||
|
state: started
|
Loading…
Reference in a new issue