Change apt-add-repository to add-apt-repository (#72893)
This commit is contained in:
parent
4e74270322
commit
bc35fbf5de
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ To configure the PPA on your machine and install Ansible run these commands:
|
|||
|
||||
$ sudo apt update
|
||||
$ sudo apt install software-properties-common
|
||||
$ sudo apt-add-repository --yes --update ppa:ansible/ansible
|
||||
$ sudo add-apt-repository --yes --update ppa:ansible/ansible
|
||||
$ sudo apt install ansible
|
||||
|
||||
.. note:: On older Ubuntu distributions, "software-properties-common" is called "python-software-properties". You may want to use ``apt-get`` instead of ``apt`` in older versions. Also, be aware that only newer distributions (in other words, 18.04, 18.10, and so on) have a ``-u`` or ``--update`` flag, so adjust your script accordingly.
|
||||
|
|
Loading…
Reference in a new issue