blob: 654f42de62b67d21a0e1aa6bc5ebd5a691d96d39 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
---
- name: install minet management script
copy:
src: minet
dest: /usr/local/sbin/
mode: 0755
- name: install minet management script zsh completion
copy:
src: _minet
dest: /usr/local/share/zsh/site-functions
mode: 0644
- name: install minet lib dir
file:
path: /usr/local/lib/minet
state: directory
- name: install minet helpers
copy:
src: minet_helpers.sh
dest: /usr/local/lib/minet
- name: install minet connection scripts
loop: "{{ lookup('fileglob', 'templates/connections/*.j2', wantlist=True) }}"
loop_control:
label: "{{ item | basename | splitext | first }}"
template:
src: "{{ item }}"
dest: "/usr/local/lib/minet/{{ item | basename | splitext | first }}"
mode: 0755
- name: install custom wpa connections
loop: "{{ ws_minet_wpa_connections | dict2items }}"
loop_control:
label: "{{ item.key }} - {{ item.value.description }}"
template:
src: wpa-connection.j2
dest: "/usr/local/lib/minet/{{ item.key }}"
mode: 0755
- name: install custom open-wifi connections
loop: "{{ ws_minet_openwifi_connections | dict2items }}"
loop_control:
label: "{{ item.key }} - {{ item.value.description }}"
template:
src: openwifi-connection.j2
dest: "/usr/local/lib/minet/{{ item.key }}"
mode: 0755
|