|
| 1 | +azure_configure_archost |
| 2 | +================== |
| 3 | + |
| 4 | +A role to Configure an Azure ARC Machine. Once the agent is installed and run |
| 5 | +it will register the host in the **azure_configure_archost_resource_group** requested. |
| 6 | + |
| 7 | +Requirements |
| 8 | +------------ |
| 9 | + |
| 10 | +* Azure User Account with valid permission |
| 11 | + |
| 12 | +Role Variables |
| 13 | +-------------- |
| 14 | + |
| 15 | +* **azure_configure_archost_resource_group**: The resource group that the host will be registered in. |
| 16 | +* **azure_configure_archost_cloud**: The Azure cloud to use. Default `AzureCloud` |
| 17 | +* **azure_configure_archost_location**: The location to use. Default `The location of the resource_group` |
| 18 | +* **azure_configure_archost_tenant_id**: Azure tenant id. |
| 19 | +* **azure_configure_archost_subscription_id**: Azure subscription id. |
| 20 | +* **azure_configure_archost_tags**: Dictionary of tags to apply to the Arc Host entry in Azure. Default: `{archost: "true"}` |
| 21 | +* **proxy**: Object used to provide details for proxy setup if needed. Contains the following: |
| 22 | + - * **hostname**: The hostname of the proxy server. |
| 23 | + - * **port**: The port that the proxy server is listening on. |
| 24 | + |
| 25 | +Limitations |
| 26 | +------------ |
| 27 | + |
| 28 | +- NA |
| 29 | + |
| 30 | +Dependencies |
| 31 | +------------ |
| 32 | + |
| 33 | +- NA |
| 34 | + |
| 35 | +Example Playbook |
| 36 | +---------------- |
| 37 | + |
| 38 | + - name: Deploy arc agent on arc_hosts |
| 39 | + hosts: arc_hosts |
| 40 | + tasks: |
| 41 | + - name: Configure Arc Hosts |
| 42 | + ansible.builtin.include_role: |
| 43 | + name: cloud.azure_ops.azure_configure_archost |
| 44 | + |
| 45 | +Example Inventory |
| 46 | +----------------- |
| 47 | + |
| 48 | + [arc_hosts] |
| 49 | + arc-host-01 ansible_user=admin |
| 50 | + arc-host-02 ansible_user=admin |
| 51 | + arc-host-03 ansible_user=admin |
| 52 | + WIN-3B6PDJQPRS4 ansible_user=vagrant ansible_shell_type=powershell |
| 53 | + |
| 54 | + [all:vars] |
| 55 | + ansible_ssh_extra_args='-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' |
| 56 | + azure_configure_archost_resource_group=YOURRESOURCEGROUP |
| 57 | + azure_configure_archost_subscription_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
| 58 | + azure_configure_archost_tenant_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
| 59 | + |
| 60 | +License |
| 61 | +------- |
| 62 | + |
| 63 | +GNU General Public License v3.0 or later |
| 64 | + |
| 65 | +See [LICENCE](https://github.com/redhat-cop/cloud.azure_ops/blob/main/LICENSE) to see the full text. |
| 66 | + |
| 67 | +Author Information |
| 68 | +------------------ |
| 69 | + |
| 70 | +- Ansible Cloud Content Team |
0 commit comments