misc typos (#74724)

This commit is contained in:
Abhijeet Kasurde 2021-05-26 19:28:52 +05:30 committed by GitHub
parent b63512774b
commit a61821b626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -143,9 +143,9 @@ The base class does some minimal assignment for reuse in other methods.
def parse(self, inventory, loader, path, cache=True):
self.loader = loader
self.inventory = inventory
self.templar = Templar(loader=loader)
self.loader = loader
self.inventory = inventory
self.templar = Templar(loader=loader)
It is up to the plugin now to parse the provided inventory source and translate it into Ansible inventory.
To facilitate this, the example below uses a few helper functions:

View file

@ -64,7 +64,7 @@ def daemonize_self():
try:
pid = os.fork()
if pid > 0:
# TODO: print 'async_wrapper_pid': pid, but careful as it will polute expectec output.
# TODO: print 'async_wrapper_pid': pid, but careful as it will pollute expected output.
end()
except OSError:
e = sys.exc_info()[1]

View file

@ -5,7 +5,7 @@
- name: gather 'bad' facts
action: bogus_facts
- name: ensure that the 'bad' facts didn't polute what they are not supposed to
- name: ensure that the 'bad' facts didn't pollute what they are not supposed to
assert:
that:
- "'touch' not in discovered_interpreter_python|default('')"