forked from example42/psick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory.yaml
39 lines (38 loc) · 865 Bytes
/
inventory.yaml
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
groups:
- name: db-linux
targets:
- _plugin: puppetdb
query: "inventory[certname] { facts.kernel = 'Linux' }"
- name: db-windows
targets:
- _plugin: puppetdb
query: "inventory[certname] { facts.kernel = 'windows' }"
- name: linux
targets:
- puppet
- target2.example.com
config:
transport: ssh
- name: windows
targets:
- name: win1
uri: target3.example.com
- name: win2
uri: target4.example.com
config:
transport: winrm
config:
ssh:
host-key-check: false
winrm:
user: Administrator
ssl: false
transport:
_plugin: env_var
var: BOLT_TRANSPORT
default: ssh
pcp:
cacert: ~/.puppetlabs/puppet/cert.pem
service-url: https://api.example.org:8143
task-environment: host
token-file: ~/.puppetlabs/puppet/token.pem