This repository has been archived on 2021-09-08. You can view files and clone it, but cannot push or open issues/pull-requests.
localdev-playbooks/playbook-Linux.sh

16 lines
352 B
Bash
Executable File

#!/usr/bin/env bash
sudo dnf install -y ansible ansible-collection-community-general
# this needs to be set on the first run
# otherwise ansible can't use the new $PATH
case ":${PATH}:" in
*:"$HOME/.cargo/bin":*)
;;
*)
export PATH="$HOME/.cargo/bin:$PATH"
;;
esac
ansible-playbook -i linux-inventory.yml localdev.yml