summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2018-05-17 15:47:28 +1000
committerMatt Davis <nitzmahone@users.noreply.github.com>2018-05-16 22:47:28 -0700
commita0b608f3117278a7d4af188e288fd6e97fd60e23 (patch)
tree2157f06c2f1793f32ab1f12e408098b0582811c2
parentae2453850ebfe89c99de0b231e1f9c7704d98822 (diff)
downloadansible-a0b608f3117278a7d4af188e288fd6e97fd60e23.tar.gz
small grammar improvements to add clarity (#40157) (#40298)
(cherry picked from commit 98579029d78285c7b36a98d32a5de83e9fbfcfbd)
-rw-r--r--lib/ansible/plugins/inventory/script.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/plugins/inventory/script.py b/lib/ansible/plugins/inventory/script.py
index 9e85bba055..c9e4709fc8 100644
--- a/lib/ansible/plugins/inventory/script.py
+++ b/lib/ansible/plugins/inventory/script.py
@@ -30,13 +30,13 @@ DOCUMENTATION = '''
env:
- name: ANSIBLE_INVENTORY_PLUGIN_SCRIPT_STDERR
description:
- - The source provided must an executable that returns Ansible inventory JSON
+ - The source provided must be an executable that returns Ansible inventory JSON
- The source must accept C(--list) and C(--host <hostname>) as arguments.
C(--host) will only be used if no C(_meta) key is present.
This is a performance optimization as the script would be called per host otherwise.
notes:
- It takes the place of the previously hardcoded script inventory.
- - To function it requires being whitelisted in configuration, which is true by default.
+ - In order to function, it requires being whitelisted in configuration, which is true by default.
'''
import os