Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify PPA installation steps for Ubuntu #45690

Merged
merged 1 commit into from
Sep 17, 2018
Merged

Simplify PPA installation steps for Ubuntu #45690

merged 1 commit into from
Sep 17, 2018

Conversation

kwilczek
Copy link
Contributor

@kwilczek kwilczek commented Sep 16, 2018

Adding the --update flag automatically updates the cache after adding a repo (no need to run apt-get update in a separate step)
Adding the --yes flag disable the Ansible repo description and skips the confirmation dialog.
+label: docsite_pr

SUMMARY

There is no need to repeat the apt-get update after adding a repo with add-apt-repository. This
can be done in one step, so one line less to type/paste. --yes adds the repo without the Y/n question. I think if someone decides to add the PPA and start typing/pasting installation commands the response will always be yes.

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME
ANSIBLE VERSION
ansible 2.6.4
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'~/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]

ADDITIONAL INFORMATION

<!--- Your description here -->
Adding the `--update` flag automatically updates the cache after adding a repo (no need to run `apt-get update` again)
Adding the `--yes` flag disable the Ansible repo description and skips confirmation dialog.
+label: docsite_pr
@ansibot
Copy link
Contributor

ansibot commented Sep 16, 2018

@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 docs This issue/PR relates to or includes documentation. needs_triage Needs a first human triage before being processed. new_contributor This PR is the first contribution by a new community member. small_patch support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Sep 16, 2018
@mscherer
Copy link
Contributor

shipit

@ansibot ansibot removed the needs_triage Needs a first human triage before being processed. label Sep 16, 2018
@acozine
Copy link
Contributor

acozine commented Sep 17, 2018

@kwilczek thanks for submitting a PR to simplify the installation guide. We appreciate your interest in the documentation and your support of Ansible.

@acozine acozine merged commit 78e9f45 into ansible:devel Sep 17, 2018
@dagwieers dagwieers added the docsite_pr This PR is created from documentation using the "Edit on GitHub" link. label Sep 18, 2018
acozine pushed a commit to samccann/ansible that referenced this pull request Sep 19, 2018
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
(cherry picked from commit 78e9f45)
acozine pushed a commit that referenced this pull request Sep 20, 2018
Batch of docs backports:

* docs: Clarify include_task v import_tasks with conditionals (#43856)
(cherry picked from commit 6be42a2)

* Add single quotes around package name (#45152)
(cherry picked from commit 0d81386)

* prefer ansible_facts namespace and dict notation (#44980)
(cherry picked from commit 4451044)

* fix cherrypick conflict - scenario_guides

* Update implicit_localhost.rst (#45455)
(cherry picked from commit f68cd1a)

* updated fbsd install instructions (#45309)
(cherry picked from commit e9c2695)

* Change "Defaulting Undefined Variables" (#41379)
(cherry picked from commit e35c4be)

* adds license details to dev guide pages (#45574)
(cherry picked from commit 6e68d77)

* FAQ: fix a typo, add link to 'vars' lookup (#42412)
(cherry picked from commit 95649dc)

* Fix link and toctree (#45595)
(cherry picked from commit 6999bf3)

* Improve the local toctree (and title) (#45590)
(cherry picked from commit afea00f)

* Add undocumented configuration parameter and explain in porting guide (#36059)
(cherry picked from commit a892a6e)

* Simplify PPA installation for Ubuntu (#45690)
(cherry picked from commit 78e9f45)

* adding git+ssh uri scheme (#36025)
(cherry picked from commit 84a4257)

* Add workaround for non-standard kerberos environments (#41465)
(cherry picked from commit 4e532e0)

* Restore license agreement (#45809)
(cherry picked from commit f430f60)

* partial cherry-pick - lenovo doc update PR 45483
@dagwieers dagwieers added the packaging Packaging category label Mar 3, 2019
@ansible ansible locked and limited conversation to collaborators Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.8 This issue/PR affects Ansible v2.8 docs This issue/PR relates to or includes documentation. docsite_pr This PR is created from documentation using the "Edit on GitHub" link. new_contributor This PR is the first contribution by a new community member. packaging Packaging category small_patch support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants