Skip to content

Commit

Permalink
ENH: install fixed XAR prior to installing twincat tools, in case it …
Browse files Browse the repository at this point in the history
…matters
  • Loading branch information
ZLLentz committed Mar 26, 2024
1 parent f55c86d commit 563691b
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions tcbsd-provision-playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,20 +184,6 @@
name: "{{ tc_packages_to_install }}"
state: latest

- name: Install TwinCAT tools
ansible.builtin.package:
name: "{{ tc_tools_packages }}"
state: latest

- name: Install C/C++ development tools
ansible.builtin.package:
name:
- os-generic-userland-devtools
- llvm
- gdb
state: latest
when: tc_install_cpp_dev_tools

# Note: this job runs even in check mode, to help us figure out if the xar install will happen.
- name: "Get available TwinCAT build"
when: set_fixed_xar
Expand All @@ -215,6 +201,20 @@
name: "TC31-XAR-{{ fixed_xar_version }}_{{ pkg_twincat_build.stdout }}"
state: present

- name: Install TwinCAT tools
ansible.builtin.package:
name: "{{ tc_tools_packages }}"
state: latest

- name: Install C/C++ development tools
ansible.builtin.package:
name:
- os-generic-userland-devtools
- llvm
- gdb
state: latest
when: tc_install_cpp_dev_tools

- name: Install user TwinCAT Libraries
ansible.builtin.package:
name: "{{ tc_libraries }}"
Expand Down

0 comments on commit 563691b

Please sign in to comment.