Merge pull request #40393 from holmboe/saltssh-ubuntu1604-python2-docfix

Document how to install Python 2 on an Ubuntu 16.04 host with salt-ssh
This commit is contained in:
Nicole Thomas 2017-03-29 16:50:14 -06:00 committed by GitHub
commit 48986ca16f

View File

@ -110,6 +110,17 @@ Calling Salt SSH
salt-ssh centos-5-minion -r 'yum -y install epel-release ; yum -y install python26'
.. note:: ``salt-ssh`` on systems with Python 3.x
Salt, before the Nitrogen release, does not support Python 3.x which is the
default on for example the popular 16.04 LTS release of Ubuntu. An easy
workaround for this scenario is to use the ``-r`` option similar to the
example above:
.. code-block:: bash
salt-ssh ubuntu-1604-minion -r 'apt update ; apt install -y python-minimal'
The ``salt-ssh`` command can be easily executed in the same way as a salt
command: