summaryrefslogtreecommitdiff
path: root/lib/ansible
diff options
context:
space:
mode:
authorSandra McCann <samccann@redhat.com>2022-12-14 12:18:41 -0500
committerGitHub <noreply@github.com>2022-12-14 11:18:41 -0600
commit66889d8a7f5f464e9c5acd1221a5c30d405e1075 (patch)
treedc2d48a80948e162cf41ceb868492d117e4725dd /lib/ansible
parent240156ff67b11d85714970ad15cef40a5211e65e (diff)
downloadansible-66889d8a7f5f464e9c5acd1221a5c30d405e1075.tar.gz
Backportapaloosa 12 08 (#79565)
* Add Ansible community 6.7.0 porting guide (#79544) (cherry picked from commit 3cdf589ca78fa1e0b5dc7330383e1047c35014a7) * Fix hardcoded python call (#79520) Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu> (cherry picked from commit 3fd519de57613d25ec6e252d023fc865b8e35876) * Update windows_faq.rst (#79552) `python-pip` changes to `python3-pip` for the Ubuntu 20.04 WSL distro (cherry picked from commit 527abba86010629e21f8227c4234c393e4ee8122) * Add Ansible community 7.1.0 porting guide (#79553) (cherry picked from commit b1caba8b53603a0e39bc2103e72e2cb41c224fbf) * fixed misleading setup example (#79495) (cherry picked from commit bc13099e56410a933a48ce734dd575920e102866) * Update docs for the `compile` sanity test. (#79562) (cherry picked from commit 932a32153a4166d4efc3564f89177aa22935acf5) * Remove obsolete legacy integration test docs. (#79563) (cherry picked from commit 0f4afd7e6d584c19b7e95fe6682cb159c89925bc) * fix: broken link (#79461) (cherry picked from commit 6a7fb7d2ab07c5a124ac178929e56b5f6d8d04e5) Co-authored-by: Anwesha Das <anwesha@das.community> Co-authored-by: Lee Garrett <leegarrett@users.noreply.github.com> Co-authored-by: Raymond Yee <raymond.yee@gmail.com> Co-authored-by: Christian Adams <chadams@redhat.com> Co-authored-by: zitatorocsik <zita.torocsik@gmail.com> Co-authored-by: Matt Clay <matt@mystile.com> Co-authored-by: Thomas Poindessous <thomas@poindessous.com>
Diffstat (limited to 'lib/ansible')
-rw-r--r--lib/ansible/modules/command.py2
-rw-r--r--lib/ansible/modules/setup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/modules/command.py b/lib/ansible/modules/command.py
index 778d8a26cf..490c0ca5a9 100644
--- a/lib/ansible/modules/command.py
+++ b/lib/ansible/modules/command.py
@@ -21,7 +21,7 @@ description:
like C("*"), C("<"), C(">"), C("|"), C(";") and C("&") will not work.
Use the M(ansible.builtin.shell) module if you need these features.
- To create C(command) tasks that are easier to read than the ones using space-delimited
- arguments, pass parameters using the C(args) L(task keyword,../reference_appendices/playbooks_keywords.html#task)
+ arguments, pass parameters using the C(args) L(task keyword,https://docs.ansible.com/ansible/latest/reference_appendices/playbooks_keywords.html#task)
or use C(cmd) parameter.
- Either a free form command or C(cmd) parameter is required, see the examples.
- For Windows targets, use the M(ansible.windows.win_command) module instead.
diff --git a/lib/ansible/modules/setup.py b/lib/ansible/modules/setup.py
index 2776ac1c02..df2a67f236 100644
--- a/lib/ansible/modules/setup.py
+++ b/lib/ansible/modules/setup.py
@@ -133,7 +133,7 @@ EXAMPLES = r"""
- '!<any valid subset>'
- facter
-- name: Collect only selected facts
+- name: Filter and return only selected facts
ansible.builtin.setup:
filter:
- 'ansible_distribution'