mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
pi zero is different ansible_machine (#144)
* pi zero is different ansible_machine * trying to create link fails, if same nams as file exists. This was too much backward compatability
This commit is contained in:
parent
ee4df858b3
commit
54bd3f7414
3 changed files with 1 additions and 7 deletions
|
@ -15,7 +15,7 @@
|
|||
set_fact:
|
||||
kiwix_src_file: "kiwix-tools_armhf_2017-08-28.tar.gz"
|
||||
kiwix_src_bin_only: True
|
||||
when: ansible_machine == "armv7l"
|
||||
when: ansible_machine == "armv7l" or ansible_machine == "armv6l"
|
||||
|
||||
- name: Get the kiwix software
|
||||
get_url: url="{{ iiab_download_url }}/{{ kiwix_src_file }}" dest="{{ downloads_dir }}/{{ kiwix_src_file }}"
|
||||
|
|
|
@ -110,9 +110,6 @@
|
|||
- { 0: 'gateway/iiab-gen-iptables', 1: '/usr/bin/iiab-gen-iptables' }
|
||||
- { 0: 'gateway/check-LAN', 1: '/usr/bin/check-LAN' }
|
||||
|
||||
- name: Create link so that old invocation will work
|
||||
file: src=/usr/bin/iiab-gen-iptables dest=/usr/bin/xs-gen-iptables state=link
|
||||
|
||||
- name: Execute the script that sets up userspace firewall
|
||||
shell: iiab-gen-iptables
|
||||
|
||||
|
|
|
@ -49,9 +49,6 @@
|
|||
- { src: 'iiab-remote-on', dest: '/usr/bin/iiab-remote-on', owner: "root" , mode: '0755' }
|
||||
- { src: 'iiab-remote-off', dest: '/usr/bin/iiab-remote-off', owner: "root" , mode: '0755' }
|
||||
|
||||
- name: Create a link to old script for changeing handle
|
||||
file: src=./iiab-handle dest=/usr/bin/xs-handle state=link
|
||||
|
||||
- name: put up_wan in place for debian
|
||||
template: src=up_wan dest=/usr/lib/iiab/up_wan
|
||||
when: is_debuntu
|
||||
|
|
Loading…
Add table
Reference in a new issue