feat: update Ansible tasks to specify shell executable for improved compatibility
Some checks failed
Nix Format Check / check-format (push) Failing after 37s

This commit is contained in:
2025-03-10 20:30:07 +01:00
parent 132b7b1b66
commit 612a8bf7b1
3 changed files with 4 additions and 0 deletions

View File

@ -174,6 +174,7 @@ def main():
printfe("cyan", "Running Ansible playbook...")
ansible_cmd = [
"/usr/bin/env",
"ansible-playbook",
"-i", f"{dotfiles_path}/config/ansible/inventory.ini",
f"{dotfiles_path}/config/ansible/main.yml",

View File

@ -14,6 +14,7 @@
- name: Install Docker CE
ansible.builtin.shell: bash -c 'set -o pipefail && sh /tmp/get-docker.sh'
args:
executable: /bin/bash
creates: /usr/bin/docker
when: docker_check.rc != 0

View File

@ -1,5 +1,7 @@
- name: List installed pipx packages
ansible.builtin.shell: set -o pipefail && pipx list --short | awk '{print $1}'
args:
executable: /bin/bash
register: installed_pipx_packages
changed_when: false