Sha256: ed70ef3acec5caf19c206f728edafe6cf0ac6238d733c9498e5faa050ea70e93

Contents?: true

Size: 608 Bytes

Versions: 58

Compression:

Stored size: 608 Bytes

Contents

import React from 'react';
import Immutable from 'seamless-immutable';
import PropTypes from 'prop-types';
import './AnsibleHostInventory.scss';
import ReportJsonViewer from '../../../ReportJsonViewer';

const AnsibleHostInventory = ({ inventoryData }) => {
  const mutableInventory =
    inventoryData && Immutable.asMutable(inventoryData, { deep: true });

  return (
    <div className="ansible-host-inventory">
      <ReportJsonViewer data={mutableInventory} />
    </div>
  );
};

AnsibleHostInventory.propTypes = {
  inventoryData: PropTypes.object.isRequired,
};

export default AnsibleHostInventory;

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-15.0.1 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-15.0.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-14.2.2 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-14.2.1 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-13.0.7 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-14.2.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-14.1.1 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-14.1.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-13.0.5 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-14.0.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-13.0.4 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-13.0.3 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-13.0.2 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-13.0.1 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-13.0.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-12.0.7 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-10.4.4 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-7.1.8 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-12.0.6 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js