Skip to content

Commit

Permalink
Merge pull request #1 from mikysal78/master
Browse files Browse the repository at this point in the history
get deb architecture and write correct file deb
  • Loading branch information
zioproto authored Oct 22, 2020
2 parents 6a8e0c9 + 79c28a8 commit f13aaed
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tasks/2-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,16 @@
chdir: "{{ olsrd2_source_dir }}/files"
register: _VERSIONCOUNT

- name: Get DEB architecture
shell: dpkg --print-architecture
register: deb_architecture

- name: Print DEB architecture
debug:
msg: "deb_architecture.stdout: {{ deb_architecture.stdout }}"

- set_fact:
olsrd2_deb_file: "olsrd2_{{ _VERSION.stdout }}-{{ _VERSIONCOUNT.stdout }}_amd64.deb"
olsrd2_deb_file: "olsrd2_{{ _VERSION.stdout }}-{{ _VERSIONCOUNT.stdout }}_{{ deb_architecture.stdout }}.deb"

- name: check if deb package has been already compiled
stat:
Expand Down

0 comments on commit f13aaed

Please sign in to comment.