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