Simplify PPA installation for Ubuntu (#45690)

Adds the `--update` flag to automatically update the cache and the `--yes` flag to disable the Ansible repo description and skips confirmation dialog. +label: docsite_pr
This commit is contained in:
Kamil Wilczek 2018-09-17 15:59:20 +02:00 committed by Alicia Cozine
parent 780dc9c561
commit 78e9f452a5

View file

@ -147,8 +147,7 @@ To configure the PPA on your machine and install ansible run these commands:
$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update
$ sudo apt-add-repository --yes --update ppa:ansible/ansible
$ sudo apt-get install ansible
.. note:: On older Ubuntu distributions, "software-properties-common" is called "python-software-properties".