|
| 1 | +.. _freeipa_info_module: |
| 2 | +.. include:: <isoamsa.txt> |
| 3 | +.. |br| raw:: html |
| 4 | + |
| 5 | + <br /> |
| 6 | + |
| 7 | +.. Macros for table-building |
| 8 | +.. Start the module documentation |
| 9 | +
|
| 10 | +
|
| 11 | +.. title:: freeipa_info -- Gather information about FreeIPA |
| 12 | + |
| 13 | +freeipa_info -- Gather information about FreeIPA |
| 14 | +================================================ |
| 15 | + |
| 16 | +.. contents:: |
| 17 | + :local: |
| 18 | + :depth: 1 |
| 19 | + |
| 20 | +Synopsis |
| 21 | +-------- |
| 22 | + |
| 23 | +- Gather information about FreeIPA |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +Requirements |
| 28 | +------------ |
| 29 | +The below requirements are needed on the host that executes this module. |
| 30 | + |
| 31 | +- cdpy |
| 32 | + |
| 33 | + |
| 34 | +Parameters |
| 35 | +---------- |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | +.. table:: |
| 41 | + :widths: 30 20 50 |
| 42 | + |
| 43 | + +----------------+----------------------+--------------------------------------------------------------+ |
| 44 | + | **Parameter** | **Choices/Defaults** | **Comments** | |
| 45 | + +----------------+----------------------+--------------------------------------------------------------+ |
| 46 | + | **name** | | The FreeIPA environment specified will be described | |
| 47 | + | | | | |
| 48 | + | |br| | | | |
| 49 | + | | | | |
| 50 | + | ``str`` | | | |
| 51 | + | | | | |
| 52 | + | |br| | | | |
| 53 | + | | | | |
| 54 | + | *Required* | | | |
| 55 | + +----------------+----------------------+--------------------------------------------------------------+ |
| 56 | + | **verify_tls** | | Verify the TLS certificates for the CDP endpoint. | |
| 57 | + | | | | |
| 58 | + | |br| | | | |
| 59 | + | | | | |
| 60 | + | ``bool`` | | | |
| 61 | + | | | | |
| 62 | + | | | |br| | |
| 63 | + | | | | |
| 64 | + | | | *Aliases: tls* | |
| 65 | + +----------------+----------------------+--------------------------------------------------------------+ |
| 66 | + | **debug** | | Capture the CDP SDK debug log. | |
| 67 | + | | | | |
| 68 | + | |br| | | | |
| 69 | + | | | | |
| 70 | + | ``bool`` | | | |
| 71 | + | | | | |
| 72 | + | | | |br| | |
| 73 | + | | | | |
| 74 | + | | | *Aliases: debug_endpoints* | |
| 75 | + +----------------+----------------------+--------------------------------------------------------------+ |
| 76 | + | **profile** | | If provided, the CDP SDK will use this value as its profile. | |
| 77 | + | | | | |
| 78 | + | |br| | | | |
| 79 | + | | | | |
| 80 | + | ``str`` | | | |
| 81 | + +----------------+----------------------+--------------------------------------------------------------+ |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | +Examples |
| 89 | +-------- |
| 90 | + |
| 91 | +.. code-block:: yaml+jinja |
| 92 | + |
| 93 | + |
| 94 | + # Note: These examples do not set authentication details. |
| 95 | + |
| 96 | + # List FreeIPA information about a named Environment |
| 97 | + - cloudera.cloud.freeipa_info: |
| 98 | + name: example-environment |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | +Return Values |
| 104 | +------------- |
| 105 | + |
| 106 | +Common return values are documented here, the following are fields unique to this module. |
| 107 | + |
| 108 | + |
| 109 | +.. table:: |
| 110 | + :widths: 30 20 50 |
| 111 | + |
| 112 | + +-----------------------+--------------+-------------------------------------------------------------+ |
| 113 | + | **Key** | **Returned** | **Description** | |
| 114 | + +-----------------------+--------------+-------------------------------------------------------------+ |
| 115 | + | **environments** | on success | The information about the named Environment or Environments | |
| 116 | + | | | | |
| 117 | + | |br| | | | |
| 118 | + | | | | |
| 119 | + | ``dict`` | | | |
| 120 | + +-+---------------------+--------------+-------------------------------------------------------------+ |
| 121 | + | | **environmentCrn** | always | CDP CRN value for the Environment. | |
| 122 | + | | | | | |
| 123 | + | | |br| | | | |
| 124 | + | | | | | |
| 125 | + | | ``str`` | | | |
| 126 | + +-+---------------------+--------------+-------------------------------------------------------------+ |
| 127 | + | | **environmentName** | always | Name of the Environment. | |
| 128 | + | | | | | |
| 129 | + | | |br| | | | |
| 130 | + | | | | | |
| 131 | + | | ``str`` | | | |
| 132 | + | | | | | |
| 133 | + | | | | |br| | |
| 134 | + | | | | | |
| 135 | + | | | | **Sample:** | |
| 136 | + | | | | | |
| 137 | + | | | | a-cdp-environment-name | |
| 138 | + | | | | | |
| 139 | + +-+---------------------+--------------+-------------------------------------------------------------+ |
| 140 | + | | **instances** | always | Details about the instances. | |
| 141 | + | | | | | |
| 142 | + | | |br| | | | |
| 143 | + | | | | | |
| 144 | + | | ``list`` | | | |
| 145 | + +-+-+-------------------+--------------+-------------------------------------------------------------+ |
| 146 | + | | | **id** | always | The identifier of the instance. | |
| 147 | + | | | | | | |
| 148 | + | | | |br| | | | |
| 149 | + | | | | | | |
| 150 | + | | | ``str`` | | | |
| 151 | + | | | | | | |
| 152 | + | | | | | |br| | |
| 153 | + | | | | | | |
| 154 | + | | | | | **Sample:** | |
| 155 | + | | | | | | |
| 156 | + | | | | | i-00b58f27be | |
| 157 | + | | | | | | |
| 158 | + +-+-+-------------------+--------------+-------------------------------------------------------------+ |
| 159 | + | | | **state** | always | The state of the instance. | |
| 160 | + | | | | | | |
| 161 | + | | | |br| | | | |
| 162 | + | | | | | | |
| 163 | + | | | ``str`` | | | |
| 164 | + | | | | | | |
| 165 | + | | | | | |br| | |
| 166 | + | | | | | | |
| 167 | + | | | | | **Sample:** | |
| 168 | + | | | | | | |
| 169 | + | | | | | CREATED | |
| 170 | + | | | | | | |
| 171 | + +-+-+-------------------+--------------+-------------------------------------------------------------+ |
| 172 | + | | | **hostname** | always | The hostname of the instance. | |
| 173 | + | | | | | | |
| 174 | + | | | |br| | | | |
| 175 | + | | | | | | |
| 176 | + | | | ``str`` | | | |
| 177 | + | | | | | | |
| 178 | + | | | | | |br| | |
| 179 | + | | | | | | |
| 180 | + | | | | | **Sample:** | |
| 181 | + | | | | | | |
| 182 | + | | | | | ipaserver0.a-cdp-environment-name.example.site | |
| 183 | + | | | | | | |
| 184 | + +-+-+-------------------+--------------+-------------------------------------------------------------+ |
| 185 | + | | | **issues** | always | Details of any issues encountered with server. | |
| 186 | + | | | | | | |
| 187 | + | | | |br| | | | |
| 188 | + | | | | | | |
| 189 | + | | | ``list`` | | | |
| 190 | + +-+-+-------------------+--------------+-------------------------------------------------------------+ |
| 191 | + |
| 192 | + |
| 193 | +Status |
| 194 | +------ |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | +- This module is not guaranteed to have a backwards compatible interface. *[preview]* |
| 200 | + |
| 201 | + |
| 202 | +- This module is maintained by community. |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | +Authors |
| 207 | +~~~~~~~ |
| 208 | + |
| 209 | +- Webster Mudge (@wmudge) |
| 210 | +- Jim Enright (@jenright) |
| 211 | + |
0 commit comments