Ansible Install: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
=Installation= | =Installation= | ||
==Allgemein== | ==Allgemein== | ||
| + | *apt install python-pip | ||
*python -m pip install ansible | *python -m pip install ansible | ||
| + | |||
==Windowsunterstützung== | ==Windowsunterstützung== | ||
*pip3 install pywinrm | *pip3 install pywinrm | ||
Version vom 20. Februar 2023, 11:00 Uhr
Installation
Allgemein
- apt install python-pip
- python -m pip install ansible
Windowsunterstützung
- pip3 install pywinrm
Arbeitsverzeichnis
- mkdir ~/ansible
- cd ~/ansible
Ansible-Konfigurationsdatei
- cat ansible.cfg
[defaults] inventory = inventory private_key_file = ~/.ssh/id_rsa roles_path = $HOME/ansible/roles