From 2c02ae4b9546b810d8625f7203f4c53d8b116278 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sat, 9 Dec 2023 04:25:38 +0530 Subject: [PATCH] fix: document roles --- .woodpecker.yml | 4 ++-- ansible/requirements.yml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 ansible/requirements.yml diff --git a/.woodpecker.yml b/.woodpecker.yml index 785ded3..2ecc025 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,8 +6,8 @@ steps: - apt-get install -y ca-certificates curl gnupg tar wget libssl-dev python3-pip cython3 pipx - pipx install --include-deps ansible - pipx ensurepath && echo $SHELL - - /root/.local/bin/ansible-playbook ./ansible/mcaptcha.yml --connection=local + - /root/.local/bin/ansible-galaxy install -r ./ansible/requirements.yml + - /root/.local/bin/ansible-playbook --connection=local -i localhost, --limit 127.0.0.1 ./ansible/mcaptcha.yml - pipx install --include-deps pytest-testinfra - cd tests/cache/ && py.test --verbose base.py - cd tests/mcaptcha/ && py.test --verbose base.py - diff --git a/ansible/requirements.yml b/ansible/requirements.yml new file mode 100644 index 0000000..8629619 --- /dev/null +++ b/ansible/requirements.yml @@ -0,0 +1,3 @@ +- src: geerlingguy.mysql + +- src: geerlingguy.postgresql