You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried installing the collection via both commandline and via requirements.yml.
But for the sake of this report, I am choosing the commandline version.
ansible-galaxy [core 2.11.6]
config file = /Users/wasseem/myautomation/test01/ansible.cfg
configured module search path = ['/Users/wasseem/myautomation/test01/library']
ansible python module location = /usr/local/Cellar/ansible/4.8.0/libexec/lib/python3.10/site-packages/ansible
ansible collection location = /Users/wasseem/myautomation/test01/vendor/collections
executable location = /usr/local/bin/ansible-galaxy
python version = 3.10.0 (default, Oct 13 2021, 06:44:31) [Clang 12.0.0 (clang-1200.0.32.29)]
jinja version = 3.0.2
libyaml = True
Using /Users/wasseem/myautomation/test01/ansible.cfg as config file
[DEPRECATION WARNING]: COMMAND_WARNINGS option, the command warnings feature is being removed. This feature will be removed from ansible-core
in version 2.14. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
Cloning into '/Users/wasseem/.ansible/tmp/ansible-local-27498q02mw6xd/tmp5_8wkcvn/ansible-collection-hardeningmqmyam4w'...
remote: Enumerating objects: 7385, done.
remote: Counting objects: 100% (974/974), done.
remote: Compressing objects: 100% (462/462), done.
remote: Total 7385 (delta 622), reused 714 (delta 476), pack-reused 6411
Receiving objects: 100% (7385/7385), 1.57 MiB | 429.00 KiB/s, done.
Resolving deltas: 100% (4308/4308), done.
**Note: switching to '7.13.2'.**
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
**HEAD is now at 88ea296 fix tags in galaxy.yml - no dashes allowed**
Starting galaxy collection install process
Process install dependency map
Opened /Users/wasseem/.ansible/galaxy_token
Starting collection install process
**Installing 'devsec.hardening:7.12.0' to** '/Users/wasseem/myautomation/test01/vendor/collections/ansible_collections/devsec/hardening'
Skipping '/Users/wasseem/.ansible/tmp/ansible-local-27498q02mw6xd/tmp5_8wkcvn/ansible-collection-hardeningmqmyam4w/requirements.txt' for collection build
Skipping '/Users/wasseem/.ansible/tmp/ansible-local-27498q02mw6xd/tmp5_8wkcvn/ansible-collection-hardeningmqmyam4w/.yamllint' for collection build
Skipping '/Users/wasseem/.ansible/tmp/ansible-local-27498q02mw6xd/tmp5_8wkcvn/ansible-collection-hardeningmqmyam4w/.gitignore' for collection build
Skipping '/Users/wasseem/.ansible/tmp/ansible-local-27498q02mw6xd/tmp5_8wkcvn/ansible-collection-hardeningmqmyam4w/.github' for collection build
Skipping '/Users/wasseem/.ansible/tmp/ansible-local-27498q02mw6xd/tmp5_8wkcvn/ansible-collection-hardeningmqmyam4w/.gitattributes' for collection build
Skipping '/Users/wasseem/.ansible/tmp/ansible-local-27498q02mw6xd/tmp5_8wkcvn/ansible-collection-hardeningmqmyam4w/.git' for collection build
Skipping '/Users/wasseem/.ansible/tmp/ansible-local-27498q02mw6xd/tmp5_8wkcvn/ansible-collection-hardeningmqmyam4w/galaxy.yml' for collection build
EXPECTATION
Installing 'devsec.hardening:7.13.2' to
ACTUAL RESULT
Installing 'devsec.hardening:7.12.0' to
I am not understanding this behaviour, why is it defaulting to 7.12.0?
The text was updated successfully, but these errors were encountered:
I have tried installing the collection via both commandline and via requirements.yml.
But for the sake of this report, I am choosing the commandline version.
COMMAND:
$ ansible-galaxy collection install git+https://github.com/dev-sec/ansible-collection-hardening.git,7.13.2 -vvv
OUTPUT:
EXPECTATION
ACTUAL RESULT
I am not understanding this behaviour, why is it defaulting to 7.12.0?
The text was updated successfully, but these errors were encountered: