refactor: update output message for Ansible playbook execution

This commit is contained in:
Menno van Leeuwen 2025-01-21 00:04:12 +01:00
parent c66ee294fb
commit 55b59a3364
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -75,7 +75,7 @@ if [[ "$RUN_ANSIBLE" == true ]]; then
fi
fi
printfe "%s\n" "cyan" "Upgrading Ansible packages..."
printfe "%s\n" "cyan" "Running Ansible playbook..."
cd $HOME/dotfiles/config/ansible && ansible-playbook -i $HOME/dotfiles/config/ansible/inventory.ini $HOME/dotfiles/config/ansible/main.yml --extra-vars "hostname=$DOTF_HOSTNAME" --extra-vars "ansible_user=$USER" --limit $DOTF_HOSTNAME --ask-become-pass
if [[ $? -ne 0 ]]; then