forked from juju4/ansible-adduser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.digitalocean.yml
61 lines (56 loc) · 1.26 KB
/
.kitchen.digitalocean.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
## Before
#export DIGITALOCEAN_ACCESS_TOKEN=""
#curl -X GET https://api.digitalocean.com/v2/account/keys -H "Authorization: Bearer $DIGITALOCEAN_ACCESS_TOKEN"
#export DIGITALOCEAN_SSH_KEY_IDS=""
driver:
name: digitalocean
driver_config:
region: nyc1
size: 512mb
#transport:
# name: sftp
provisioner:
name: ansible_playbook
roles_path: ../
hosts: all
# ansible_verbose: true
ansible_verbose: false
ansible_verbosity: 3
ansible_extra_flags: <%= ENV['ANSIBLE_EXTRA_FLAGS'] %>
ansible_cfg_path: test/vagrant/ansible.cfg
# require_chef_omnibus: false
require_ansible_omnibus: true
# require_chef_for_busser: false
enable_yum_epel: true
ansible_connection: ssh
platforms:
- name: ubuntu-16.04
driver:
name: digitalocean
image: ubuntu-16-04-x64
- name: ubuntu-14.04
driver:
name: digitalocean
image: ubuntu-14-04-x64
- name: ubuntu-12.04
driver:
name: digitalocean
image: ubuntu-12-04-x64
- name: centos-7
driver:
name: digitalocean
image: centos-7-2-x64
- name: centos-6
driver:
name: digitalocean
image: centos-6-8-x64
suites:
- name: default
run_list:
attributes:
- name: default-nopasswd
run_list:
attributes:
includes:
- ubuntu-16.04