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

Remove old inventory warnings #5716

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Remove old inventory warnings #5716

merged 1 commit into from
Jan 9, 2025

Conversation

sandbergja
Copy link
Member

This resolves the following warnings:

[WARNING]:  * Failed to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/production with ini plugin: /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/production:12: Section [production:children] includes undefined group: cicognara_production [WARNING]:  * Failed to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/production with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from
each: JSON: Expecting value: line 1 column 2 (char 1)  Syntax Error while loading YAML.   did not find expected <document start>  The error appears to be in
'/Users/sandbergj/repos/princeton_ansible/inventory/by_environment/production': line 2, column 1, but may be elsewhere in the file depending on the exact syntax problem.  The offending line appears to be:
[production:children] abid_production ^ here
[WARNING]: Unable to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/production as an inventory source
[WARNING]:  * Failed to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/staging with ini plugin: /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/staging:11: Section
[staging:children] includes undefined group: cicognara_staging
[WARNING]:  * Failed to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/staging with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from each:
JSON: Expecting value: line 1 column 2 (char 1)  Syntax Error while loading YAML.   did not find expected <document start>  The error appears to be in
'/Users/sandbergj/repos/princeton_ansible/inventory/by_environment/staging': line 2, column 1, but may be elsewhere in the file depending on the exact syntax problem.  The offending line appears to be:
[staging:children] abid_staging ^ here
[WARNING]: Unable to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/staging as an inventory source

This resolves the following warnings:

[WARNING]:  * Failed to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/production with ini plugin: /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/production:12:
Section [production:children] includes undefined group: cicognara_production
[WARNING]:  * Failed to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/production with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from
each: JSON: Expecting value: line 1 column 2 (char 1)  Syntax Error while loading YAML.   did not find expected <document start>  The error appears to be in
'/Users/sandbergj/repos/princeton_ansible/inventory/by_environment/production': line 2, column 1, but may be elsewhere in the file depending on the exact syntax problem.  The offending line appears to be:
[production:children] abid_production ^ here
[WARNING]: Unable to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/production as an inventory source
[WARNING]:  * Failed to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/staging with ini plugin: /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/staging:11: Section
[staging:children] includes undefined group: cicognara_staging
[WARNING]:  * Failed to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/staging with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from each:
JSON: Expecting value: line 1 column 2 (char 1)  Syntax Error while loading YAML.   did not find expected <document start>  The error appears to be in
'/Users/sandbergj/repos/princeton_ansible/inventory/by_environment/staging': line 2, column 1, but may be elsewhere in the file depending on the exact syntax problem.  The offending line appears to be:
[staging:children] abid_staging ^ here
[WARNING]: Unable to parse /Users/sandbergj/repos/princeton_ansible/inventory/by_environment/staging as an inventory source
Copy link
Member

@kayiwa kayiwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @sandbergja

@kayiwa kayiwa merged commit 61e6633 into main Jan 9, 2025
73 checks passed
@kayiwa kayiwa deleted the inventory-warning branch January 9, 2025 20:07
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

Successfully merging this pull request may close these issues.

2 participants