Sha256: b34c84fb42378980668e04e802d3cb25d1464bafc39231fd8f391bfc823e833d

Contents?: true

Size: 1.34 KB

Versions: 30

Compression:

Stored size: 1.34 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><%= _("Task") %></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><span title=<%= ansible_module_name(log) %>><%= ansible_task_name(log) %></span></td>
          <td>
            <% log_message = ansible_module_message(log) %>
            <% if log_message.is_a? Array %>
              <ul>
                <% log_message.each do |message_line| %>
                  <li><%= message_line %></li>
                <% end %>
              </ul>
            <% else %>
              <%= log_message %>
          <% end %>
          </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

30 entries across 30 versions & 1 rubygems

Version Path
foreman_ansible-10.4.4 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-7.1.8 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-10.4.3 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-10.4.2 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-7.1.7 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-7.1.6 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-10.4.1 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-7.1.5 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-10.4.0 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-10.3.0 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-10.2.0 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-10.1.0 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-10.0.1 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-10.0.0 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-7.1.4 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-9.0.1 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-7.1.3 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-9.0.0 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-7.1.2 app/views/foreman_ansible/config_reports/_ansible.html.erb
foreman_ansible-7.1.1 app/views/foreman_ansible/config_reports/_ansible.html.erb