Skip to content

Commit 798f72a

Browse files
authored
Merge pull request stackhpc#11 from stackhpc/conditional-requirements
Use Ansible 4 if python version < 3.7
2 parents f4b8c2f + 235f69f commit 798f72a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# Use Ansible 5 for consistent Rocky 9 behaviour
2-
ansible>=5,<6
1+
# Use Ansible 5 for consistent Rocky 9 behaviour when available, otherwise use Ansible 4
2+
ansible>=4,<5; python_version<"3.7"
3+
ansible>=5,<6; python_version>="3.7"

0 commit comments

Comments
 (0)