mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Force-install libssl1.1 if MongoDB needed on Ubuntu >= 22.04
This commit is contained in:
parent
3aae53e693
commit
9f0c5f1e5d
7 changed files with 42 additions and 16 deletions
|
@ -9,9 +9,10 @@
|
|||
# https://github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
||||
- name: "Ansible just ran /etc/ansible/facts.d/local_facts.fact to set 11 vars -- here we extract 3 of those -- rpi_model: {{ ansible_local.local_facts.rpi_model }}, devicetree_model: {{ ansible_local.local_facts.devicetree_model }}, iiab_stage: {{ ansible_local.local_facts.stage }}"
|
||||
set_fact:
|
||||
iiab_stage: "{{ ansible_local.local_facts.stage }}"
|
||||
rpi_model: "{{ ansible_local.local_facts.rpi_model }}"
|
||||
devicetree_model: "{{ ansible_local.local_facts.devicetree_model }}"
|
||||
iiab_stage: "{{ ansible_local.local_facts.stage }}"
|
||||
os_ver: "{{ ansible_local.local_facts.os_ver }}"
|
||||
|
||||
# Initialize /etc/iiab/iiab.ini writing the 'location' and 'version' sections
|
||||
# once and only once, to preserve the install date and git hash.
|
||||
|
@ -92,6 +93,8 @@
|
|||
value: "{{ rpi_model }}"
|
||||
- option: devicetree_model
|
||||
value: "{{ devicetree_model }}"
|
||||
- option: os_ver
|
||||
value: "{{ os_ver }}"
|
||||
- option: first_run
|
||||
value: "{{ first_run }}"
|
||||
- option: local_tz # e.g. 'EDT' (summer) or 'EST' (winter) after Ansible interprets symlink /etc/localtime -- or 'UTC' if /etc/localtime doesn't exist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue