|
| 1 | +# prereq_efm |
| 2 | + |
| 3 | +Set up for efm |
| 4 | + |
| 5 | +This role prepares a host for Edge Flow Manager usage by creating a dedicated system user and group named `efm`. This user is essential for running efm processes with appropriate permissions and isolation. The role can also optionally set up Access Control Lists (ACLs) on TLS entities if required for secure efm communication. |
| 6 | + |
| 7 | +The role will: |
| 8 | +- Create the `efm` system user and group. |
| 9 | +- Configure home directories and other necessary local paths for the `efm` user, if required. |
| 10 | +- Ensure appropriate permissions are set for files and directories related to efm. |
| 11 | +- Configure TLS ACLs to secure efm communication, if needed. |
| 12 | + |
| 13 | +# Requirements |
| 14 | + |
| 15 | +- Root or `sudo` privileges are required on the target host to create system users and groups, and to configure file system permissions and ACLs. |
| 16 | + |
| 17 | +# Dependencies |
| 18 | + |
| 19 | +None. |
| 20 | + |
| 21 | +# Parameters |
| 22 | + |
| 23 | +| Variable | Type | Required | Default | Description | |
| 24 | +| --- | --- | --- | --- | --- | |
| 25 | +| | | | | This role has no configurable parameters. | |
| 26 | + |
| 27 | +# Example Playbook |
| 28 | + |
| 29 | +```yaml |
| 30 | +- hosts: efm_nodes |
| 31 | + tasks: |
| 32 | + - name: Set up the Edge Flow Manager user and environment |
| 33 | + ansible.builtin.import_role: |
| 34 | + name: cloudera.exe.prereq_efm |
| 35 | +``` |
| 36 | +
|
| 37 | +# License |
| 38 | +
|
| 39 | +``` |
| 40 | +Copyright 2025 Cloudera, Inc. |
| 41 | + |
| 42 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 43 | + you may not use this file except in compliance with the License. |
| 44 | + You may obtain a copy of the License at |
| 45 | + |
| 46 | + https://www.apache.org/licenses/LICENSE-2.0 |
| 47 | + |
| 48 | + Unless required by applicable law or agreed to in writing, software |
| 49 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 50 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 51 | + See the License for the specific language governing permissions and |
| 52 | + limitations under the License. |
| 53 | +``` |
0 commit comments