From 30965cd424d907d548239c90c42379a2ee2fb47a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 31 Jul 2023 21:55:14 +0200 Subject: 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. --- .github/workflows/run.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.github/workflows') 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 -- cgit v1.2.3