|
1 | | -<!-- |
2 | | - Copyright 2024 Cloudera, Inc. |
| 1 | +# freeipa_client |
3 | 2 |
|
4 | | - Licensed under the Apache License, Version 2.0 (the "License"); |
5 | | - you may not use this file except in compliance with the License. |
6 | | - You may obtain a copy of the License at |
| 3 | +Set up FreeIPA client, registering the host with a FreeIPA server, configured for DNS updates. |
7 | 4 |
|
8 | | - https://www.apache.org/licenses/LICENSE-2.0 |
| 5 | +The role will: |
| 6 | +- Update `cloud-init` configuration to disable hostname management, if needed |
| 7 | +- Update the hostname to the Ansible `inventory_hostname` |
| 8 | +- Update `/etc/hosts` with the Ansible `inventory_hostname` and default IPv4 address |
| 9 | +- Create and activate a `cldr` connection ethernet profile in `NetworkManager` for the Ansible default IPv4 alias to set domain search and name servers, if needed |
| 10 | +- Update the DHCP client configuration to set domain search and name servers, if needed |
| 11 | +- Update `/etc/resolv.conf` directly to set domain search and name servers, if needed |
| 12 | +- Set the SSSD configuration to enumerate users and groups, if needed. |
| 13 | +- Install defined FreeIPA client packages, if needed |
| 14 | +- Set up and register FreeIPA client with the FreeIPA servers. |
9 | 15 |
|
10 | | - Unless required by applicable law or agreed to in writing, software |
11 | | - distributed under the License is distributed on an "AS IS" BASIS, |
12 | | - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | | - See the License for the specific language governing permissions and |
14 | | - limitations under the License. |
15 | | ---> |
| 16 | +## Requirements |
16 | 17 |
|
17 | | -# freeipa_client |
| 18 | +None. |
| 19 | + |
| 20 | +## Dependencies |
| 21 | + |
| 22 | +- `freeipa.ansible_freeipa.ipaclient` |
| 23 | + |
| 24 | +## Examples |
| 25 | + |
| 26 | +```yaml |
| 27 | +- name: Install FreeIPA client |
| 28 | + ansible.builtin.import_role: |
| 29 | + name: freeipa_client |
| 30 | + vars: |
| 31 | + ipaclient_domain: example.internal |
| 32 | + ipaclient_realm: EXAMPLE.INTERNAL |
| 33 | + ipaclient_servers: [ "freeipa.example.internal" ] |
| 34 | + ipaclient_dns_servers: [ "10.0.0.4" ] |
| 35 | + ipaadmin_password: "SomEpassWord" |
| 36 | +``` |
| 37 | +
|
| 38 | +## License |
| 39 | +
|
| 40 | +``` |
| 41 | +Copyright 2024 Cloudera, Inc. |
| 42 | + |
| 43 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 44 | +you may not use this file except in compliance with the License. |
| 45 | +You may obtain a copy of the License at |
| 46 | + |
| 47 | + https://www.apache.org/licenses/LICENSE-2.0 |
| 48 | + |
| 49 | +Unless required by applicable law or agreed to in writing, software |
| 50 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 51 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 52 | +See the License for the specific language governing permissions and |
| 53 | +limitations under the License. |
| 54 | +``` |
0 commit comments