File tree Expand file tree Collapse file tree 6 files changed +14
-6
lines changed Expand file tree Collapse file tree 6 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## [ v0.10.1] ( https://github.com/play-iot/iot-vpn/tree/vpnc-deployer/v0.10.1 ) (2021-06-16)
4
+
5
+ ### Improvement
6
+
7
+ - Move ` fix-connman-dhcp ` into ` roles/vpnc-state `
8
+
3
9
## [ v0.10.0] ( https://github.com/play-iot/iot-vpn/tree/vpnc-deployer/v0.10.0 ) (2021-06-16)
4
10
5
11
### Improvement
Original file line number Diff line number Diff line change 1
1
args_vpn_state_show : False
2
2
args_vpn_state_assert_install : False
3
3
args_vpn_state_assert_work : False
4
+ args_vpn_state_fix_connman : False
4
5
args_vpn_state_test_domains :
5
6
- google.com
Original file line number Diff line number Diff line change 8
8
- name : Check VPNC CLI install
9
9
include_tasks : 01_check_vpnc_cli.yml
10
10
11
+ - name : Fix Connman DHClient if needed
12
+ when : args_vpn_state_fix_connman and resp_vpnc_state['is_exec']
13
+ include_tasks : tasks/connman_dhclient.yml
14
+
11
15
- name : Check VPNC service status
12
16
include_tasks : 02_check_vpnc_service.yml
13
17
Original file line number Diff line number Diff line change 27
27
vars :
28
28
runtime_vpn_conn : " {{ resp_prepare_credential }}"
29
29
30
- - name : Fix Connman DHClient if needed
31
- include_tasks : tasks/connman_dhclient.yml
32
-
33
30
- name : Validate VPNC state
34
31
include_role :
35
32
name : vpnc-state
36
33
vars :
37
34
args_vpn_state_show : True
35
+ args_vpn_state_fix_connman : True
38
36
args_vpn_state_assert_work : True
Original file line number Diff line number Diff line change 34
34
include_role :
35
35
name : vpnc-upgrade
36
36
37
- - name : Fix Connman DHClient if needed
38
- include_tasks : tasks/connman_dhclient.yml
39
-
40
37
- name : Validate VPNC state
41
38
when : wf_precondition_is_installed or wf_precondition_is_upgraded
42
39
include_role :
43
40
name : vpnc-state
44
41
vars :
45
42
args_vpn_state_show : True
46
43
args_vpn_state_assert_install : True
44
+ args_vpn_state_fix_connman : True
47
45
args_vpn_state_assert_work : " {{ wf_precondition_is_work == 0 }}"
Original file line number Diff line number Diff line change 12
12
name : vpnc-state
13
13
vars :
14
14
args_vpn_state_show : True
15
+ args_vpn_state_fix_connman : True
You can’t perform that action at this time.
0 commit comments