Browse Source

use a bastion

main
Nicolas Massé 4 years ago
parent
commit
6b7df291ee
  1. 2
      ansible/start.yaml
  2. 2
      ansible/stop.yaml
  3. 3
      templates/inventory

2
ansible/start.yaml

@ -1,5 +1,5 @@
- name: Start the OpenShift cluster
hosts: localhost
hosts: admin
gather_facts: no
become: no
vars:

2
ansible/stop.yaml

@ -1,5 +1,5 @@
- name: Stop the OpenShift cluster
hosts: localhost
hosts: admin
gather_facts: no
become: no
vars:

3
templates/inventory

@ -1,3 +1,6 @@
[all:vars]
nodes=${jsonencode(nodes)}
[admin]
admin.itix.lab ansible_user=nicolas

Loading…
Cancel
Save