diff --git a/install_files/ansible-base/callback_plugins/profile_tasks.py b/install_files/ansible-base/callback_plugins/profile_tasks.py index 1a00500d26..19ac472590 100644 --- a/install_files/ansible-base/callback_plugins/profile_tasks.py +++ b/install_files/ansible-base/callback_plugins/profile_tasks.py @@ -66,7 +66,7 @@ def playbook_on_stats(self, stats): total_seconds = sum([x[1] for x in self.stats.items()]) print("\nPlaybook finished: {0}, {1} total tasks." - "{2} elapsed. \n".format( + " {2} elapsed. \n".format( time.asctime(), len(self.stats.items()), datetime.timedelta(seconds=(int(total_seconds))) diff --git a/install_files/ansible-base/roles/build-ossec-deb-pkg/library/ossec_urls.py b/install_files/ansible-base/roles/build-ossec-deb-pkg/library/ossec_urls.py index 357bb12be5..91bb58b5b8 100644 --- a/install_files/ansible-base/roles/build-ossec-deb-pkg/library/ossec_urls.py +++ b/install_files/ansible-base/roles/build-ossec-deb-pkg/library/ossec_urls.py @@ -90,7 +90,7 @@ def parse_checksums(self): def main(): - module = AnsibleModule( # noqa E405 + module = AnsibleModule( # noqa: F405 argument_spec=dict( ossec_version=dict(default="2.8.2"), ),