Skip to content

Commit

Permalink
removed debug verbosity and improved log message wording
Browse files Browse the repository at this point in the history
  • Loading branch information
XaverStiensmeier committed Mar 27, 2024
1 parent 3c3e35b commit ae30617
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bibigrid/core/utility/ansible_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
MV_ANSIBLE_CONFIG = (
"sudo install -D /opt/playbook/ansible.cfg /etc/ansible/ansible.cfg", "Move ansible configuration.")
EXECUTE = (f"ansible-playbook {os.path.join(aRP.PLAYBOOK_PATH_REMOTE, aRP.SITE_YML)} -i "
f"{os.path.join(aRP.PLAYBOOK_PATH_REMOTE, aRP.ANSIBLE_HOSTS)} -l vpn -vvvv",
f"{os.path.join(aRP.PLAYBOOK_PATH_REMOTE, aRP.ANSIBLE_HOSTS)} -l vpn",
"Execute ansible playbook. Be patient.")

# ansible setup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def _run_playbook(cmdline_args):
# read common configuration
with open("/opt/playbook/vars/common_configuration.yml", mode="r", encoding="utf-8") as common_configuration_file:
common_config = yaml.safe_load(common_configuration_file)
logging.warning(f"ThisGrep {common_config['cloud_scheduling']['timeout']}")
logging.warning(f"Maximum 'is active' attempts: {common_config['cloud_scheduling']['timeout']}")
# read clouds.yaml
with open("/etc/openstack/clouds.yaml", mode="r", encoding="utf-8") as clouds_file:
clouds = yaml.safe_load(clouds_file)["clouds"]
Expand Down

0 comments on commit ae30617

Please sign in to comment.