Diferencia entre revisiones de «Instalar Ansible»
Ir a la navegación
Ir a la búsqueda
([feat] Add information Instalar Ansible) |
|||
(No se muestran 3 ediciones intermedias del mismo usuario) | |||
Línea 6: | Línea 6: | ||
sudo dnf install -y ansible | sudo dnf install -y ansible | ||
==== Verificar versión ==== | |||
ansible --version | |||
Sale por pantalla: | |||
ansible [core 2.14.8] | |||
config file = /etc/ansible/ansible.cfg | |||
configured module search path = ['/home/proyectosbeta/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |||
ansible python module location = /usr/lib/python3.11/site-packages/ansible | |||
ansible collection location = /home/proyectosbeta/.ansible/collections:/usr/share/ansible/collections | |||
executable location = /usr/bin/ansible | |||
python version = 3.11.4 (main, Jun 7 2023, 00:00:00) [GCC 13.1.1 20230511 (Red Hat 13.1.1-2)] (/usr/bin/python3) | |||
jinja version = 3.0.3 | |||
libyaml = True | |||
== Debian == | |||
=== Debian 12 === | |||
sudo apt update | |||
sudo apt upgrade -y | |||
sudo apt install -y ansible | |||
sudo apt clean && sudo apt autoclean | |||
==== Verificar versión ==== | |||
ansible --version | |||
Sale por pantalla: | |||
ansible [core 2.14.3] | |||
config file = None | |||
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |||
ansible python module location = /usr/lib/python3/dist-packages/ansible | |||
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections | |||
executable location = /usr/bin/ansible | |||
python version = 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] (/usr/bin/python3) | |||
jinja version = 3.1.2 | |||
libyaml = True |
Revisión actual - 06:44 25 ago 2023
GNU/Linux
Fedora
Fedora 38 Workstation
sudo dnf install -y ansible
Verificar versión
ansible --version
Sale por pantalla:
ansible [core 2.14.8] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/proyectosbeta/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.11/site-packages/ansible ansible collection location = /home/proyectosbeta/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.11.4 (main, Jun 7 2023, 00:00:00) [GCC 13.1.1 20230511 (Red Hat 13.1.1-2)] (/usr/bin/python3) jinja version = 3.0.3 libyaml = True
Debian
Debian 12
sudo apt update sudo apt upgrade -y sudo apt install -y ansible sudo apt clean && sudo apt autoclean
Verificar versión
ansible --version
Sale por pantalla:
ansible [core 2.14.3] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] (/usr/bin/python3) jinja version = 3.1.2 libyaml = True