Open jnm27 opened 1 year ago
Confirm it comes from the synchronize module (got it with command ansible regulateur -m synchronize -a "src=/home/edavid/workshop/liquidprompt/ dest=/tmp/liquidprompt/" )
I get the deprecation warning on a ssh connexion, not for localhost.
I also confirm this warning on ansible core 2.15.1 and ansible.posix 1.5.4.
@maxamillion Can you take a look at the fix in https://github.com/ansible-collections/ansible.posix/pull/421? Not sure why I was getting different errors in CI, if it's just flaky or related in some way to my patch. I'll rerun them again.
I am also seeing this on ansible core 2.15.2 and ansible.posix 1.5.4
[DEPRECATION WARNING]: DEFAULT_GATHER_TIMEOUT option, the module_defaults keyword is a more generic version and can apply to all calls to the M(ansible.builtin.gather_facts) or M(ansible.builtin.setup) actions,
use module_defaults instead. This feature will be removed from ansible-core in version 2.18. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
Still present here in ansible-core 2.15.3 (ansible.posix 1.5.4):
[DEPRECATION WARNING]: The connection's stdin object is deprecated. Call display.prompt_until(msg) instead. This feature will be removed in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
Apparently https://github.com/ansible-collections/ansible.posix/pull/421 fixes this. Who can review it to get merged?
Present in 2.15.5
[DEPRECATION WARNING]: The connection's stdin object is deprecated. Call display.prompt_until(msg) instead. This feature will be removed in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
I saw a merged fix, there is a plan to release soon ?
SUMMARY
Getting this deprecation warning in the log; pretty sure it's coming from the synchronize module.
ISSUE TYPE
COMPONENT NAME
synchronize.py
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
No deprecation warnings
ACTUAL RESULTS
Deprecation warnings