Skip to content

Commit

Permalink
Pin the version of the ansible package
Browse files Browse the repository at this point in the history
We should be pinning the version of Ansible we use in our Packer
projects to mirror the version used in our Ansible role projects.

Co-authored-by: Shane Frasier <[email protected]>
  • Loading branch information
mcdonnnj and jsf9k committed Mar 7, 2024
1 parent 602ca30 commit dd67feb
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
ansible
# With the release of version 2.10, Ansible finally correctly
# identifies Kali Linux as being the Kali distribution of the Debian
# OS family. This simplifies a lot of things for roles that support
# Kali Linux, so it makes sense to force the installation of Ansible
# 2.10 or newer.
#
# We need at least version 6 to correctly identify Amazon Linux 2023
# as using the dnf package manager, and version 8 is currently the
# oldest supported version.
#
# We have tested against version 9. We want to avoid automatically
# jumping to another major version without testing, since there are
# often breaking changes across major versions. This is the reason
# for the upper bound.
ansible>=8,<10
boto3
docopt
semver
Expand Down

0 comments on commit dd67feb

Please sign in to comment.