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

Ansible Pre-Flight Error #2

Open
drchap7577 opened this issue Oct 27, 2022 · 0 comments
Open

Ansible Pre-Flight Error #2

drchap7577 opened this issue Oct 27, 2022 · 0 comments

Comments

@drchap7577
Copy link

drchap7577 commented Oct 27, 2022

Preflight Ansible Playbook runs partially successful with 1 error that I'm struggling to understand. Any insights on what may be causing this issue:

TASK [oneidentity.authentication_services.local_unix_users : generate reports] *****************************************************************************************************************************
ok: [cfsand05v.psb.bls.gov -> 127.0.0.1] => (item={'src': 'local_unix_users_report.csv.j2', 'dest': 'local_unix_users_report.csv'})
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ): sequence item 2: expected str instance, int found
failed: [cfsand05v.psb.bls.gov -> 127.0.0.1] (item={'src': 'local_unix_users_report.html.j2', 'dest': 'local_unix_users_report.html'}) => {"ansible_loop_var": "item", "changed": false, "item": {"dest": "local_unix_users_report.html", "src": "local_unix_users_report.html.j2"}, "msg": "AnsibleError: Unexpected templating type error occurred on ({# Imports #}\r\n{% import 'local_unix_users_report_common.html.j2' as report with context %}\r\n\r\n{# Globals #}\r\n{% set report_name = 'Local Unix Users Report' %}\r\n\r\n{# HTML head #}\r\n{{ report.head(report_name) }}\r\n\r\n{# HTML body #}\r\n\r\n\r\n {# Create overall page container #}\r\n <div class="container-fluid">\r\n\r\n {# Title #}\r\n {{ report.title(report_name) }}\r\n\r\n {# Data table #}\r\n {{ report.table() }}\r\n \r\n {# Footer #}\r\n {{ report.footer(collection_version, now(fmt='%Y-%m-%d %H:%M:%S')) }}\r\n\r\n {# JS libraries #}\r\n {{ report.libraries() }}\r\n\r\n {# Table data #}\r\n {{ report.table_data() }}\r\n\r\n {# Table detail formatter #}\r\n {{ report.table_detail_formatter() }}\r\n\r\n {# Table detail copy tooltip #}\r\n {{ report.table_detail_tooltip() }}\r\n\r\n {# Table cell style #}\r\n {{ report.table_cell_style() }}\r\n\r\n \r\n\r\n\r\n\r\n{# HTML end #}\r\n{{ report.end() }}\r\n): sequence item 2: expected str instance, int found"}

TASK [oneidentity.authentication_services.client_preflight : generate reports] *****************************************************************************************************************************
ok: [cfsand05v.psb.bls.gov -> 127.0.0.1] => (item={'src': 'client_preflight_report.csv.j2', 'dest': 'client_preflight_report.csv'})
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ): sequence item 32: expected str instance, bool found
failed: [cfsand05v.psb.bls.gov -> 127.0.0.1] (item={'src': 'client_preflight_report.html.j2', 'dest': 'client_preflight_report.html'}) => {"ansible_loop_var": "item", "changed": false, "item": {"dest": "client_preflight_report.html", "src": "client_preflight_report.html.j2"}, "msg": "AnsibleError: Unexpected templating type error occurred on ({# Imports #}\r\n{% import 'client_preflight_report_common.html.j2' as report with context %}\r\n\r\n{# Globals #}\r\n{% set report_name = 'Client Preflight Report' %}\r\n\r\n{# HTML head #}\r\n{{ report.head(report_name) }}\r\n\r\n{# HTML body #}\r\n\r\n\r\n {# Create overall page container #}\r\n <div class="container-fluid">\r\n\r\n {# Title #}\r\n {{ report.title(report_name) }}\r\n\r\n {# Data table #}\r\n {{ report.table() }}\r\n \r\n {# Footer #}\r\n {{ report.footer(collection_version, now(fmt='%Y-%m-%d %H:%M:%S')) }}\r\n\r\n {# JS libraries #}\r\n {{ report.libraries() }}\r\n\r\n {# Table data #}\r\n {{ report.table_data() }}\r\n\r\n {# Table detail formatter #}\r\n {{ report.table_detail_formatter() }}\r\n\r\n {# Table detail copy tooltip #}\r\n {{ report.table_detail_tooltip() }}\r\n\r\n {# Table cell style #}\r\n {{ report.table_cell_style() }}\r\n\r\n \r\n\r\n\r\n\r\n{# HTML end #}\r\n{{ report.end() }}\r\n): sequence item 32: expected str instance, bool found"}

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