aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/run.yml10
-rw-r--r--requirements.txt3
2 files changed, 13 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
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..45752a4
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,3 @@
+# ansible-core v2.15 reboots my servers multiple times:
+# https://github.com/ansible/ansible/issues/81013
+ansible == 7.7.0