Generate Ansible SSH config for Power instance
diff --git a/README.md b/README.md
index a19e9cd..11719a2 100644
--- a/README.md
+++ b/README.md
@@ -132,9 +132,9 @@
Power Instances
---
-Power isntances are configured in a special hard-coded `power` environment.
-This name is hard-coded. The `power` environemnt section, besides the
-`api_key`, should contain additional fields:
+Power isntances are configured in a special hard-coded `power` environment. The
+`power` environemnt section, besides the `api_key`, should contain additional
+required fields:
```ini
[ibmcloud.power]
@@ -144,6 +144,3 @@
instance_id = ...
```
-All those might have to be obtained after the instance is provisioned from the
-team which provisioned them.
-
diff --git a/production b/production
index 896ab1c..01109fd 100644
--- a/production
+++ b/production
@@ -20,6 +20,23 @@
ram: 4
ci_agents:
hosts:
+ couchdb-ci:
+ instance:
+ created_at: '2021-06-08T17:10:52.000Z'
+ id: 95088258-0fa4-4f3e-af56-abe57d647780
+ name: couchdb-ci
+ profile: shared
+ subnet: null
+ vpc: s922
+ zone: none
+ ip_addrs:
+ bastion: null
+ private: 192.168.150.155
+ public: 158.175.161.155
+ system:
+ arch: power
+ num_cpu: 2
+ ram: 16
couchdb-worker-x86-64-debian-dal-1-01:
instance:
created_at: '2020-12-04T17:37:42Z'
diff --git a/ssh.cfg b/ssh.cfg
index 3a596c5..6c451d9 100644
--- a/ssh.cfg
+++ b/ssh.cfg
@@ -7,6 +7,15 @@
ControlPath /tmp/ansible-%r@%h:%p
ControlPersist 30m
+Host couchdb-ci
+ Hostname 158.175.161.155
+ User root
+ ForwardAgent yes
+ StrictHostKeyChecking no
+ ControlMaster auto
+ ControlPath /tmp/ansible-%r@%h:%p
+ ControlPersist 30m
+
Host couchdb-worker-x86-64-debian-dal-1-01
Hostname 10.240.0.16
User root