-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathEXAMPLE_skytap.ini
47 lines (42 loc) · 2.02 KB
/
EXAMPLE_skytap.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
;Copyright 2015 Skytap Inc.
;
;Licensed under the Apache License, Version 2.0 (the "License");
;you may not use this file except in compliance with the License.
;You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
;Unless required by applicable law or agreed to in writing, software
;distributed under the License is distributed on an "AS IS" BASIS,
;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;See the License for the specific language governing permissions and
;limitations under the License.
;these variables set things necessary for connecting to the skytapAPI
[skytap_vars]
base_url: https://cloud.skytap.com/v2
username: john_doe
api_token: <token goes here>
;skytap_env_vars are things you want to set to change the context of how you run the playbook against a skytap environment
;network type should be one of "private", "nat_vpn", or "nat_icnr"
;Environments can have a 'credentials' string set in the UI -- this is a a free-form field containing a string.
;a common example of a credential string in the UI might look like "someUser / fakePass".
;each VM may have several credential pairs set; you must specify a username to distinguish between these.
;the inventory parser will default to a delimiter of '/'; specify the character you use here if it's different.
;any padding spaces will be stripped -- in the case "someUser / fakePass", the resulting tokens are
; someUser
; fakePass
;these will be set to the ansible_ssh_user and ansible_ssh_pass (respectively) for each host in the inventory
[skytap_env_vars]
network_type:nat_vpn
use_api_credentials:true
skytap_vm_username:<username in creds string goes here>
api_credential_delimiter:<delimiter character for the user/pass pair>
configuration_id: <id for your skytap environment>
;these are optional vars that over-ride the settings in ansible.cfg
[ansible_ssh_vars]
user:<ssh_username>
port:<ssh_port>
pass:<ssh_password>
host: <ssh_hostname>
private_key_file:<path to private key>
extra_args:<extra arguments for SSH>