mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 12:19:09 +01:00
drastically simplified the playbook selection in the installation script
This commit is contained in:
1 parent
91b6cd8f1d
commit
dfda147449
1 file changed
+2
@@ -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