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

Version Path
foreman_ansible-15.0.2 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-15.0.1 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-15.0.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-14.2.2 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-14.2.1 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-13.0.7 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-14.2.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-14.1.1 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-14.1.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-13.0.5 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-14.0.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-13.0.4 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-13.0.3 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-13.0.2 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-13.0.1 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-13.0.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-12.0.7 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-10.4.4 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-7.1.8 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-12.0.6 app/views/foreman_ansible/config_reports/_output.html.erb