You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one uses Centos 7 and python2 ansible then one gains errors against
the playbook in stroom/roles/non_docker_proxy/update_config/tasks/main.yml
name: Copy static files from {{ stroom_proxy_config_files_and_templates_dir }} to {{ stroom_proxy_home_dir }}/
and the playbook in stroom/roles/non_docker_stroom/update_config/tasks/main.yml
name: Copy static files from {{ stroom_config_files_and_templates_dir }}/ to {{ stroom_home_dir }}/
The error is The conditional check '_stroom_config_files_and_templates_dir_info.stat.exists == true and item.state == 'file' and item.path is not match '.*\.j2$' and item.path is not match '.*\.gitkeep$'' failed. The error was: Unexpected templating type error occurred on ({% if _stroom_config_files_and_templates_dir_info.stat.exists == true and item.state == 'file' and item.path is not match '.*\.j2$' and item.path is not match '.*\.gitkeep$' %} True {% else %} False {% endif %}): first argument must be string or compiled pattern
If one uses a control host that runs python3 by default (i.e. RHEL8/Centos8) then the above error does not occur.
The text was updated successfully, but these errors were encountered:
If one uses Centos 7 and python2 ansible then one gains errors against
the playbook in
stroom/roles/non_docker_proxy/update_config/tasks/main.yml
name: Copy static files from {{ stroom_proxy_config_files_and_templates_dir }} to {{ stroom_proxy_home_dir }}/
and the playbook in
stroom/roles/non_docker_stroom/update_config/tasks/main.yml
name: Copy static files from {{ stroom_config_files_and_templates_dir }}/ to {{ stroom_home_dir }}/
The error is
The conditional check '_stroom_config_files_and_templates_dir_info.stat.exists == true and item.state == 'file' and item.path is not match '.*\.j2$' and item.path is not match '.*\.gitkeep$'' failed. The error was: Unexpected templating type error occurred on ({% if _stroom_config_files_and_templates_dir_info.stat.exists == true and item.state == 'file' and item.path is not match '.*\.j2$' and item.path is not match '.*\.gitkeep$' %} True {% else %} False {% endif %}): first argument must be string or compiled pattern
If one uses a control host that runs python3 by default (i.e. RHEL8/Centos8) then the above error does not occur.
The text was updated successfully, but these errors were encountered: