Describe the bug
While installing Pure Ansible collection, a warning is displayed.
TASK [ds-profile-control_machine : Install Pure Flasharray collection from Galaxy based on hostvars] ***************************************************
Friday 26 January 2024 11:17:13 +0100 (0:00:00.058) 0:01:49.384 ********
[DEPRECATION WARNING]: The DependencyMixin is being deprecated. Modules should use community.general.plugins.module_utils.deps instead. This feature
will be removed from community.general in version 9.0.0. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
changed: [xxxxxxxxxxxxxxxx]
To Reproduce
Steps to reproduce the behavior:
Run below playbook:
- name: Install Pure Flasharray collection from Galaxy based on hostvars
community.general.ansible_galaxy_install:
type: collection
name: purestorage.flasharray:{{ acm_custom_collection_version_pure }}
force: true
become: true
become_method: ansible.builtin.su
become_user: "{{ acm_owner }}"
when:
- hostvars[machine].acm_custom_collection_version_pure is defined
tags: custom_collection_pure
Expected behavior
No warning should be exposed.
Desktop (please complete the following information):
Describe the bug While installing Pure Ansible collection, a warning is displayed.
To Reproduce Steps to reproduce the behavior: Run below playbook:
Expected behavior No warning should be exposed.
Desktop (please complete the following information):