From ffa7cef17a5bcbe92d4e18c8b06391c572d29b99 Mon Sep 17 00:00:00 2001 From: Adam Wojasinski <85220023+awojasinski@users.noreply.github.com> Date: Fri, 5 Jan 2024 14:47:28 +0100 Subject: [PATCH] add comumunity.general collection --- bin/dotfiles | 5 +++++ requirements.yml | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 requirements.yml diff --git a/bin/dotfiles b/bin/dotfiles index 849c69d..016943a 100755 --- a/bin/dotfiles +++ b/bin/dotfiles @@ -27,7 +27,12 @@ fi pushd "$DOTFILES_DIR" > /dev/null 2>&1 +# Update Ansible Galaxy +echo -e "Upating Ansible Galaxy..." +ansible-galaxy install -r requirements.yml > /dev/null 2>&1 + # Run playbook +echo -e "Running playbook..." if [[ -f $VAULT_SECRET ]]; then echo -e "Using vault config file" ansible-playbook --vault-password-file $VAULT_SECRET "$DOTFILES_DIR/playbook.yml" "$@" diff --git a/requirements.yml b/requirements.yml new file mode 100644 index 0000000..552adfe --- /dev/null +++ b/requirements.yml @@ -0,0 +1,2 @@ +collections: + - community.general