Sha256: 22c10a53c0080e4a1d3230959031f2ffd879a86da15e75b0a7770ddc2f4eee83
Contents?: true
Size: 609 Bytes
Versions: 122
Compression:
Stored size: 609 Bytes
Contents
<!-- We parse a few parts of the report log, to check if it's an Ansible report An alternative to this would be to subclass Ansible < ConfigReport and change the API endpoint at api/v2/config_reports to accept a :type argument with the config management system type. However, that solution breaks compatibility of this plugin with older versions of Foreman that do not have that endpoint. --> <% if ansible_report?(logs.first) %> <%= render :partial => 'foreman_ansible/config_reports/ansible', :locals => { :logs => logs } %> <% else %> <%= render_original, :locals => { :logs => logs } %> <% end %>
Version data entries
122 entries across 122 versions & 1 rubygems