feat: update Ansible tasks to specify shell executable for improved compatibility
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
This commit is contained in:
@ -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",
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user