mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge branch 'master' into poweroff
This commit is contained in:
commit
2e343f9330
3 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@
|
|||
set_fact:
|
||||
rpi_model: "rpi"
|
||||
is_rpi: "True"
|
||||
when: {{ ansible_local["local_facts"]["os"] }} == "raspbian"
|
||||
when: ansible_local.local_facts.os == "raspbian"
|
||||
ignore_errors: true
|
||||
|
||||
- include: prep.yml
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
- name: Copy the files
|
||||
template: src={{ item.src }} dest={{ item.dest }}
|
||||
with_items:
|
||||
- { src: 'defaults.ini', dest: "{{ python_path }}/" }}
|
||||
- { src: 'defaults.ini', dest: "{{ python_path }}/" }
|
||||
- { src: 'etc.iiab.conf', dest: '/etc/iiab.conf' }
|
||||
- { src: 'map_search.py', dest: "{{ python_path }}/map_search.py" }
|
||||
- { src: 'map.html', dest: "{{ python_path }}/static/map.html" }
|
||||
|
|
|
@ -13,7 +13,7 @@ case $OS_VER in
|
|||
"debian-9" | \
|
||||
"ubuntu-16" | \
|
||||
"centos-7" | \
|
||||
"raspbian-8") break
|
||||
"raspbian-8")
|
||||
;;
|
||||
*) OS_VER="OS_not_supported"
|
||||
;;
|
||||
|
@ -48,6 +48,6 @@ cat <<EOF
|
|||
"xo_model" : "$XO_VERSION",
|
||||
"ansble_version" : "$ANSIBLE_VERSION",
|
||||
"os" : "$OS",
|
||||
"os_ver" : "$OS_VER}
|
||||
"os_ver" : "$OS_VER"}
|
||||
|
||||
EOF
|
||||
|
|
Loading…
Add table
Reference in a new issue