mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 11:02:13 +02:00
drastically simplified the playbook selection in the installation script
This commit is contained in:
@@ -65,6 +65,8 @@ choosen_playbook_path=$1
|
||||
|
||||
if [[ -z $choosen_playbook_path ]]
|
||||
then
|
||||
choosen_playbook_file="$(/usr/bin/find ansible -name '*.yml' -type f -maxdepth 1 | xargs basename -a | /usr/bin/fzf)"
|
||||
choosen_playbook_path="ansible/$choosen_playbook_file"
|
||||
fi
|
||||
|
||||
if [[ ! -f $choosen_playbook_path ]]
|
||||
|
||||
Reference in New Issue
Block a user