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

[BUG] 'app_log_path' is undefined #81

Closed
blalop opened this issue Aug 23, 2021 · 1 comment
Closed

[BUG] 'app_log_path' is undefined #81

blalop opened this issue Aug 23, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@blalop
Copy link
Member

blalop commented Aug 23, 2021

Description

In the task "Ensure skeleton log paths", two vars are used for : app_log_path and app_log_file. Only app_log_file is defined in the defaults, and it seems these two vars are in fact the same.

Steps to Reproduce

Run cookiecutter. Remove comments of app_log_file var and converge.

Expected behavior:

Clean converge.

Actual behavior:

TASK [app_role : APP | Ensure skeleton log paths] ******************************
fatal: [app]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'app_log_path' is undefined\n\nThe error appears to be in '/home/ablopez/Dev/cookiecutter-ansible-role/app_role/tasks/install.yml': line 34, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: APP | Ensure skeleton log paths\n ^ here\n"}

Reproduces how often:
100%.

Environment

N/A

Additional Information

N/A

@blalop blalop added the bug Something isn't working label Aug 23, 2021
@blalop blalop self-assigned this Aug 23, 2021
blalop added a commit that referenced this issue Aug 23, 2021
blalop added a commit that referenced this issue Aug 24, 2021
#81 add log path variable in defaults
@blalop
Copy link
Member Author

blalop commented Aug 24, 2021

Fixed in 2.8.0 release

@blalop blalop closed this as completed Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant