aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-31 21:55:14 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-31 22:27:28 +0200
commit30965cd424d907d548239c90c42379a2ee2fb47a (patch)
tree6a4c24c61f5b09d0f0b393e3fcfd3e8d4aadc41e /.github/workflows
parentMakefile: remove a stupid .SECONDEXPANSION target (diff)
downloadmaintenance-30965cd424d907d548239c90c42379a2ee2fb47a.tar.gz
maintenance-30965cd424d907d548239c90c42379a2ee2fb47a.zip
downgrade Ansible
I noticed that my server get rebooted multiple times. That was because Ansible 2.15 doesn't de-duplicate handlers imported in multiple roles. This should be fixed some time in 2.15; after that, I should check if handlers from unconditional imports are preserved.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/run.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml
index a478734..569bcad 100644
--- a/.github/workflows/run.yml
+++ b/.github/workflows/run.yml
@@ -28,6 +28,16 @@ jobs:
uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: '${{ secrets.SSH_KEY }}'
+ - name: Set up Python
+ uses: actions/setup-python@v4
+ with:
+ python-version: 3.x
+ cache: pip
+ - name: Install Ansible
+ run: pip install -q -r requirements.txt
+ - name: Make sure Ansible version is correct
+ run: |
+ ansible-playbook --version | grep -F 2.14.
- name: Install dependencies
run: make deps
- name: Run Ansible