Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Clivern committed Jun 28, 2023
1 parent 1a2f711 commit 950978e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Changelog
=========

Version 0.3.4
=============

- Fix issue.


Version 0.3.3
=============

Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ package_dir =
install_requires =
click<=8.1.3
ansible-runner<=2.3.3
yaspin<=2.3.0
prettytable<=3.8.0
PyYAML<=6.0
importlib-metadata; python_version<"3.8"
importlib-metadata<=6.7.0; python_version<"3.8"

[options.packages.find]
where = src
Expand Down
9 changes: 4 additions & 5 deletions src/flook/command/recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import uuid
import click
import yaml
from yaspin import yaspin

from flook.model.recipe import Recipe
from flook.module.logger import Logger
Expand Down Expand Up @@ -176,10 +175,10 @@ def run(self, name, host_name, tag):
if len(hosts) == 0:
raise click.ClickException(f"No hosts matching!")

pb = Playbook(
playbook = Playbook(
str(uuid.uuid4()), self._configs["cache"]["path"].rstrip("/"), hosts, recipe
)

pb.build()
pb.run()
pb.cleanup()
playbook.build()
playbook.run()
playbook.cleanup()

0 comments on commit 950978e

Please sign in to comment.