From 3fd66ac883bb53038a2c5d8f27e500cb98e5511d Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 15 Jun 2020 12:27:11 +0100 Subject: [PATCH] Install `ansible-aur` using galaxy rather than `yay` Hoepfully this means it'll stay up to date more --- .github/workflows/lint.yml | 2 -- README.md | 1 - galaxy-requirements.yml | 1 + scripts/setup.sh | 2 ++ 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 galaxy-requirements.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9c89cc6..75af32b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,5 @@ jobs: python-version: 3.7 - name: Install dependencies run: ./scripts/setup.sh - - name: Install ansible aur module - run: git clone https://github.com/kewlfft/ansible-aur.git ~/.ansible/plugins/modules/aur --depth=1 - name: Run linters run: ./scripts/lint.sh diff --git a/README.md b/README.md index 824d2d9..ac449a8 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ Settings and Preferences for transfer between machines ## Requirements -- [`ansible-aur`](https://github.com/kewlfft/ansible-aur/) - SSH / GPG keys installed - Correctly setup `~/.dotfiles` directory diff --git a/galaxy-requirements.yml b/galaxy-requirements.yml new file mode 100644 index 0000000..381e077 --- /dev/null +++ b/galaxy-requirements.yml @@ -0,0 +1 @@ +- src: kewlfft.aur diff --git a/scripts/setup.sh b/scripts/setup.sh index cfca652..de102a8 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -5,3 +5,5 @@ set -ex python -m venv env env/bin/pip install -r dev-requirements.txt + +env/bin/ansible-galaxy install -r galaxy-requirements.yml