From 78e9f452a5bb9d2c8b1d1ae9bdaa3bd86e1b972b Mon Sep 17 00:00:00 2001 From: Kamil Wilczek Date: Mon, 17 Sep 2018 15:59:20 +0200 Subject: [PATCH] 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 --- docs/docsite/rst/installation_guide/intro_installation.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/docsite/rst/installation_guide/intro_installation.rst b/docs/docsite/rst/installation_guide/intro_installation.rst index 9bdb01e491..bb4460511d 100644 --- a/docs/docsite/rst/installation_guide/intro_installation.rst +++ b/docs/docsite/rst/installation_guide/intro_installation.rst @@ -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".