ansible is an agent-less configuration management tool with Infrastructure_as_Code (IaC), but high-level with a declarative syntax that is aimed to ordinary people to understand (or at least get a glimpse of the idea).
cowsay
and how to turn it off.mkpasswd
– this, on Debian, seems to be part of the whois
package… O_o (For historical reasons.)com_err
built from the e2fsprogs
sources. …(The ansible “controller” node cannot run on Windows (native Win32 API etc.; it seems possible with WSL). A Linux/UNIX ansible controller can configure/manage Windows nodes, though.)
Correlation of ansible version with ansible-core version… ansible-core version requirements – maybe replace “devel” in the URL with a version number, like, 2.10… (N.B.: Anchor #node-requirement-summary
was #prerequisites
, back then.)
According to rmadison ansible
and … python3
:
buster
”: ansible 2.7.7+dfsg-1+deb10u1
(or 2.9.16+dfsg-1~bpo10+2
with backports), while there is python3 3.7.3-1
.2.10
…oldstable
by the time of writing, it may well still be in use on some of my machines…bullseye
”: ansible 2.10.7+merged+base+2.10.8+dfsg-1
, while there is python3 3.9.2-3
.bullseye
”, it should suffice to do apt install ansible
, maybe?buster
”, let's try something like python3 -m pip install ansible-core=2.10.8
? Maybe with –user
? Maybe in a venv
? (Shipped Python should be enough, though; ansible-core 2.10
docs (linked above) state that Python 3.5
should be enough, while we have 3.7
.)ansible-core 2.10
… pypi.org release history seems to (roughly) begin at 2.11
… :-SOkay, it turned out using ansible-core 2.11.y with ansible 4.x would be installable on a python3 3.7.3 venv on a Debian 10 “buster”, like so:
$ python3 -m venv NAME_OF_ENV
For the next steps, first run this in your current shell:
$ . NAME_OF_ENV/bin/activate
This sets up your current shell to use the virtual environment; keep running that shell so that software from the virtual environment will be used.
As said, the next steps are to be run in the virtual environment:
(NAME_OF_ENV) $ python3 -m pip install --upgrade pip
(NAME_OF_ENV) $ python3 -m pip install 'ansible>=4,<5'
This is meant to install Ansible (with community-curated collections) version 4.x, which should in turn pull in ansible-core ~2.11, which is the last core 2.x version to not require python3 3.8.
On my (canvon’s) system, this is expected to lead to the following installed versions:
ansible.cfg
: [defaults]
callbacks_enabled = timer, profile_tasks, profile_roles