summaryrefslogtreecommitdiff
path: root/examples/scripts
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-01-28 23:28:53 -0800
committerJohn R Barker <john@johnrbarker.com>2017-01-29 07:28:53 +0000
commit10d9318de767f6117cc1f0a606d67984932de18f (patch)
treea5d7bc3bb8dfc83bbb69c4e2f27103c70c24bfc7 /examples/scripts
parent1c6bb4add9090863aebb2fe952e196281a052b3a (diff)
downloadansible-10d9318de767f6117cc1f0a606d67984932de18f.tar.gz
PEP 8 indent cleanup. (#20800)
* PEP 8 E121 cleanup. * PEP 8 E126 cleanup. * PEP 8 E122 cleanup.
Diffstat (limited to 'examples/scripts')
-rwxr-xr-xexamples/scripts/uptime.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/examples/scripts/uptime.py b/examples/scripts/uptime.py
index be533527fa..c7d26cf5e9 100755
--- a/examples/scripts/uptime.py
+++ b/examples/scripts/uptime.py
@@ -48,11 +48,11 @@ def main():
# create play with tasks
play_source = dict(
- name = "Ansible Play",
- hosts = host_list,
- gather_facts = 'no',
- tasks = [ dict(action=dict(module='command', args=dict(cmd='/usr/bin/uptime'))) ]
- )
+ name = "Ansible Play",
+ hosts = host_list,
+ gather_facts = 'no',
+ tasks = [ dict(action=dict(module='command', args=dict(cmd='/usr/bin/uptime'))) ]
+ )
play = Play().load(play_source, variable_manager=variable_manager, loader=loader)
# actually run it
@@ -60,12 +60,12 @@ def main():
callback = ResultsCollector()
try:
tqm = TaskQueueManager(
- inventory=inventory,
- variable_manager=variable_manager,
- loader=loader,
- options=options,
- passwords=passwords,
- )
+ inventory=inventory,
+ variable_manager=variable_manager,
+ loader=loader,
+ options=options,
+ passwords=passwords,
+ )
tqm._stdout_callback = callback
result = tqm.run(play)
finally: