mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add -y to yum command, otherwise it would hang indefinitely
This commit is contained in:
parent
9dcde77e0e
commit
48e1396496
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ Also you need Python 2.4 or later, but if you are running less than Python 2.5 o
|
||||||
|
|
||||||
If you need to bootstrap these remote systems by installing Python 2.X,
|
If you need to bootstrap these remote systems by installing Python 2.X,
|
||||||
using the 'raw' module will be able to do it remotely. For example,
|
using the 'raw' module will be able to do it remotely. For example,
|
||||||
``ansible myhost --sudo -m raw -a "yum install python2 python-simplejson"``
|
``ansible myhost --sudo -m raw -a "yum install -y python2 python-simplejson"``
|
||||||
would install Python 2.X and the simplejson module needed to run ansible and its modules.
|
would install Python 2.X and the simplejson module needed to run ansible and its modules.
|
||||||
|
|
||||||
.. _installing_the_control_machine:
|
.. _installing_the_control_machine:
|
||||||
|
|
Loading…
Reference in a new issue