The planned end of life date for upstream Ansible 2.9 is May 23, 2022 which coincides with the scheduled release of ansible-core 2.13. End of life for ansible-base 2.10 will also coincide with the scheduled release of ansible-core 2.13.
こちらのページにもすでにステータスが Unmaintained (end of life) とあります。
While upstream support for Ansible 2.9 will cease on May 23, 2022, downstream support for customers of Ansible Automation Platform will continue to exist.
% ansible-playbook -i inventory.ini test_ios_config.yml
PLAY [ios01] **********************************************************************
TASK [ios_config test] ************************************************************
[WARNING]: To ensure idempotency and correct diff the input configuration lines
should be similar to how they appear if present in the running configuration on
device
changed: [ios01]
PLAY RECAP ************************************************************************
ios01 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
こちらについて説明します。
警告の意味
この警告は、冪等性を確保するために、各オプションで指定するコマンドは、機器の show running-config で表示される形式と同じにしてくださいね、いう警告です。
To ensure idempotency and correct diff the configuration lines in the relevant module options should be similar to how they appear if present in the running configuration on device including the indentation.
$ ansible-community -h
usage: ansible-community [-h] [--version]
optional arguments:
-h, --help show this help message and exit
--version show the version of the Ansible community package
ansible-community --version で Ansible community package のバージョンを表示するとこんな感じになります。
$ ansible-community --version
Ansible community version 6.0.0
ちなみに、ansible-community コマンド中身を調べるとこうなってました。
$ which ansible-community
/home/ansible/envs/a6/bin/ansible-community
$ cat /home/ansible/envs/a6/bin/ansible-community
#!/home/ansible/envs/a6/bin/python3.9
# -*- coding: utf-8 -*-
import re
import sys
from ansible_collections.ansible_community import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())