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-6.3.2 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-6.3.1 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-6.4.1 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-6.4.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-6.3.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-6.2.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-6.1.1 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-6.0.2 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-6.1.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-6.0.1 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-5.1.3 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-6.0.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-5.1.2 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-5.1.1 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-5.1.0 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-4.0.3.5 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-4.0.3.4 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-4.0.3.3 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-4.0.3.2 app/views/foreman_ansible/config_reports/_output.html.erb
foreman_ansible-5.0.1 app/views/foreman_ansible/config_reports/_output.html.erb