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-12.0.5 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-10.4.3 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-12.0.4 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-10.4.2 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-12.0.3 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-12.0.2 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-12.0.1 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-12.0.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-11.2.1 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-7.1.7 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-11.2.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-11.1.2 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-7.1.6 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-11.1.1 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-10.4.1 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-7.1.5 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-11.1.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-10.4.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-10.3.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js
foreman_ansible-11.0.0 webpack/components/AnsibleHostDetail/components/AnsibleHostInventory/AnsibleHostInventory.js