aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugins/action/read_file.py
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-08-06 13:07:27 +0200
committerEgor Tensin <egor@tensin.name>2026-08-06 13:08:45 +0200
commitd7c131e370306aff43ebbfe682df7ba64302d9f1 (patch)
tree8581994225110a24d7faceb43ae4d06b0ed1cfeb /plugins/action/read_file.py
parentMerge pull request #2 from egor-tensin/dependabot/github_actions/actions/setu... (diff)
downloadinfra-ansible-d7c131e370306aff43ebbfe682df7ba64302d9f1.tar.gz
infra-ansible-d7c131e370306aff43ebbfe682df7ba64302d9f1.zip
reformat Python code with default Black settings
Diffstat (limited to 'plugins/action/read_file.py')
-rwxr-xr-xplugins/action/read_file.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/action/read_file.py b/plugins/action/read_file.py
index 3370846..ec43e1e 100755
--- a/plugins/action/read_file.py
+++ b/plugins/action/read_file.py
@@ -8,8 +8,8 @@ class ActionModule(ActionBase):
def run(self, tmp=None, task_vars=None):
result = super().run(tmp, task_vars)
- path = self._task.args['path']
- default = self._task.args.get('default')
+ path = self._task.args["path"]
+ default = self._task.args.get("default")
- result['content'] = file.read_file(self, path, task_vars, default=default)
+ result["content"] = file.read_file(self, path, task_vars, default=default)
return result