Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle this exception better #177

Open
LegenJCdary opened this issue Feb 23, 2023 · 0 comments
Open

Handle this exception better #177

LegenJCdary opened this issue Feb 23, 2023 · 0 comments
Milestone

Comments

@LegenJCdary
Copy link
Collaborator

ERROR: Traceback (most recent call last):
File "/home/gitlab-runner/builds/DxkgA-y8/0/qjy4vw/ansible-code/ci_venv/bin/ansible-deployer", line 8, in
sys.exit(main())
File "/home/gitlab-runner/builds/DxkgA-y8/0/qjy4vw/ansible-code/ci_venv/lib64/python3.6/site-packages/ansible_deployer/main.py", line 125, in main
workdir = misc.create_workdir(start_ts, configuration.conf, logger.logger)
File "/home/gitlab-runner/builds/DxkgA-y8/0/qjy4vw/ansible-code/ci_venv/lib64/python3.6/site-packages/ansible_deployer/modules/misc.py", line 32, in create_workdir
create_parent_workdir(short_ts, date_dir, conf, logger)
File "/home/gitlab-runner/builds/DxkgA-y8/0/qjy4vw/ansible-code/ci_venv/lib64/python3.6/site-packages/ansible_deployer/modules/misc.py", line 10, in create_parent_workdir
if short_ts not in os.listdir(conf["global_paths"]["work_dir"]):
FileNotFoundError: [Errno 2] No such file or directory: '/var/ansible-deployer'

@LegenJCdary LegenJCdary added this to the v1.0.0 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant