Skip to content

Commit

Permalink
Register template dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
stejskalleos committed Feb 6, 2024
1 parent 415543f commit eb0ede4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/foreman_ansible/register.rb
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ def ansible_variables_with_overrides

register_info_provider ForemanAnsible::AnsibleInfo

register_template_dirs ["#{ForemanAnsible::Engine.root}/app/views/foreman_ansible/job_templates"]

# For backwards compatiblity with 1.17
if respond_to?(:register_report_scanner)
register_report_scanner ForemanAnsible::AnsibleReportScanner
Expand Down

0 comments on commit eb0ede4

Please sign in to comment.