Sha256: 5c4fab4af9b067e34b37befe2c535422b431b203e0f665f0aa7f938b74047731

Contents?: true

Size: 1.06 KB

Versions: 5

Compression:

Stored size: 1.06 KB

Contents

<%= webpacked_plugins_js_for :foreman_ansible %>
<%= stylesheet 'foreman_ansible/foreman-ansible' %>
<% if ansible_run_in_check_mode?(logs.first) %>
  <%= alert :class => 'alert-info',
            :header => _('Ansible check mode'),
            :text => _('Notice that ansible roles run in check mode.')%>

<% end %>
<table id='report_log' class="<%= table_css_classes %>">
  <thead>
    <tr>
      <th><%= _("Level") %></th>
      <th><%= _("Module") %></th>
      <th><%= _("Arguments") %></th>
      <th><%= _("Message") %></th>
    </tr>
  </thead>
  <tbody>
    <% logs.each do |log| %>
      <% unless check_mode_log?(log) %>
        <tr>
          <td><span <%= report_tag log.level %>><%= h log.level %></span></td>
          <td><%= ansible_module_name(log) %></td>
          <td><%= ansible_module_args(log) %></td>
          <td><%= ansible_module_message(log) %></td>
        </tr>
      <% end %>
    <% end %>
    <tr id='ntsh' <%= "style='display: none;'".html_safe if logs.size > 0%>><td colspan="3">
        <%= _("Nothing to show") %>
      </td></tr>
  </tbody>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_ansible-6.3.4 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-6.3.3 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-6.3.2 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-6.3.1 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-6.3.0 app/views/foreman_ansible/config_reports/_ansible.html.erb