Python version = 2.7.16 (default, Oct 10 2019, 22:02:15) Īt this point, Ansible is installed in your system. You should get the following output: ansible 2.9.19Ĭonfigured module search path = Īnsible python module location = /usr/lib/python2.7/dist-packages/ansible Once the Ansible is installed, you can verify the installed version of Ansible with the following command: ansible -version Next, update the repository and install the latest version of Ansible with the following command: apt-get update -y apt-get install ansible -y Once the repository is added, add the GPG key with the following command: apt-key adv -keyserver -recv-keys 93C4A3FD7BB9C367 You can add it with the following command: echo "deb bionic main" | tee /etc/apt//ansible.list So you will need to add Ansible repository to APT. By default, the latest version of Ansible is not included in the Debian 10 repository. Next, you will need to install Ansible in your system. Once all the packages are updated, install other required packages with the following command: apt-get install apt-transport-https ca-certificates software-properties-common unzip gnupg2 curl git -yĪfter installing all the packages, you can proceed to the next step.
0 Comments
Leave a Reply. |