misc typos (#74724)
This commit is contained in:
parent
b63512774b
commit
a61821b626
3 changed files with 5 additions and 5 deletions
|
@ -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:
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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('')"
|
||||
|
|
Loading…
Reference in a new issue