Skip to content

Commit 4eb3597

Browse files
committed
add bindep and update builder install
1 parent fa3c81b commit 4eb3597

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

olam/provision_builder.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@
129129
become_user: "{{ username }}"
130130

131131
- name: Create bindep.txt
132-
ansible.builtin.file:
133-
path: ~/my_custom_ee_project/bindep.txt
134-
state: touch
132+
ansible.builtin.template:
133+
src: templates/bindep.txt.j2
134+
dest: ~/my_custom_ee_project/bindep.txt
135135
mode: '0644'
136136
become: true
137137
become_user: "{{ username }}"

olam/templates/bindep.txt.j2

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
gcc
2+
libcurl-devel
3+
libxml2-devel
4+
{% if ansible_distribution_major_version == '8' %}
5+
python3.11-devel
6+
{% endif %}
7+
{% if ansible_distribution_major_version == '9' %}
8+
python3-devel
9+
{% endif %}
10+
openssl-devel

0 commit comments

Comments
 (0)