1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge branch 'master' of github.com:iiab/iiab into poweroff

This commit is contained in:
Tim Moody 2017-07-06 13:10:33 -04:00
commit 5fa6a42af9
3 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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" }

View file

@ -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