diff --git a/ansible/start.yaml b/ansible/start.yaml index af3ab85..4d3f23a 100644 --- a/ansible/start.yaml +++ b/ansible/start.yaml @@ -1,5 +1,5 @@ - name: Start the OpenShift cluster - hosts: localhost + hosts: admin gather_facts: no become: no vars: diff --git a/ansible/stop.yaml b/ansible/stop.yaml index 36b618e..c745c91 100644 --- a/ansible/stop.yaml +++ b/ansible/stop.yaml @@ -1,5 +1,5 @@ - name: Stop the OpenShift cluster - hosts: localhost + hosts: admin gather_facts: no become: no vars: diff --git a/templates/inventory b/templates/inventory index 84f9600..2f54803 100644 --- a/templates/inventory +++ b/templates/inventory @@ -1,3 +1,6 @@ [all:vars] nodes=${jsonencode(nodes)} +[admin] +admin.itix.lab ansible_user=nicolas +