Skip to content

Commit

Permalink
Also fetching latest git updates when selecting project inventory wit…
Browse files Browse the repository at this point in the history
…h `ctp project select`
  • Loading branch information
AllRWeak committed Aug 5, 2024
1 parent 677e76e commit e774b11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/general/select-inventory.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ function inventory_generator(){

# For some reaseon some Ansible commands cannot detect the vault file from an environment variable
ansible-inventory --playbook-dir /srv/inventories -e @/home/builder/.vault/vlt --graph | sed 's/[|@:]*//g' | sed 's/--//g' | sed 's/^[ \t]*//' | sort | uniq > "/tmp/$(basename "$selected_folder")_hosts"
git fetch > /dev/null 2>&1 # Fetching the latest changes from the remote repository

}

Expand Down
2 changes: 1 addition & 1 deletion version.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 5.4.2
version: 5.4.3

0 comments on commit e774b11

Please sign in to comment.