Ansible: Installing Python
Jump to navigation Jump to search
Python is needed on the remote server in order to process ansible commands. Python has to be installed either via a ssh command or manually.
Use ssh to run remote commands:
ssh root@xxx 'date && sudo apt-get install ansible' | tee /dev/tty >> output.log