Skip to content

Commit

Permalink
Fixes for when remote_src==no (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonking3 authored Mar 28, 2023
1 parent b136798 commit 08248bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace: ciscops
name: mdd

# The version of the collection. Must be compatible with semantic versioning
version: 1.2.3
version: 1.2.4

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
4 changes: 2 additions & 2 deletions roles/nso/tasks/install_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@
when: not remote_src | bool

- set_fact:
results: "{{ copy_results if copy_results is defined else synchronize_results }}"
results: "{{ copy_results if remote_src | bool else synchronize_results }}"

- name: Make packages
command:
chdir: '{{ nso_run_dir }}/packages/{{ item.item.0.name }}/src/'
cmd: '/bin/bash -c "source {{ nso_install_dir }}/ncsrc; make"'
loop: "{{ results.results }}"
when: item.changed
when: results.changed

- name: Remove repo
file:
Expand Down

0 comments on commit 08248bc

Please sign in to comment.