diff --git a/docs/inventory-ha-doc.md b/docs/inventory-ha-doc.md index 17d2f62..636d0f3 100644 --- a/docs/inventory-ha-doc.md +++ b/docs/inventory-ha-doc.md @@ -3,7 +3,7 @@ In case while running helpernode playbook from one of the helpernode servers, ensure the rest of the helpernodes are added to the inventory file. ``` -[vmhost] +[OCP4_HELPERNODE] localhost ansible_connection=local 192.168.67.3 ansible_connection=ssh ansible_user=root ``` @@ -11,7 +11,7 @@ localhost ansible_connection=local In case while running helpernode playbook from a remote server, ensure all helpernodes are added to the inventory file. ``` -[vmhost] +[OCP4_HELPERNODE] 192.168.67.2 ansible_connection=ssh ansible_user=root 192.168.67.3 ansible_connection=ssh ansible_user=root ``` diff --git a/inventory b/inventory index 6c386fa..0ebc801 100644 --- a/inventory +++ b/inventory @@ -1,2 +1,2 @@ -[vmhost] +[OCP4_HELPERNODE] localhost ansible_connection=local diff --git a/tasks/main.yml b/tasks/main.yml index e470ac0..06962cb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,7 +1,7 @@ --- # Setup OCP4 Helper Node -- hosts: all +- hosts: OCP4_HELPERNODE vars_files: - ../vars/main.yml - ../vars/ports.yml