diff options
| author | Egor Tensin <egor@tensin.name> | 2026-08-06 13:07:27 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-08-06 13:08:45 +0200 |
| commit | d7c131e370306aff43ebbfe682df7ba64302d9f1 (patch) | |
| tree | 8581994225110a24d7faceb43ae4d06b0ed1cfeb /plugins/action/read_file.py | |
| parent | Merge pull request #2 from egor-tensin/dependabot/github_actions/actions/setu... (diff) | |
| download | infra-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-x | plugins/action/read_file.py | 6 |
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 |
