-
Notifications
You must be signed in to change notification settings - Fork 45
/
now.ini
60 lines (37 loc) · 2.2 KB
/
now.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
48
49
50
51
52
53
54
55
56
57
58
59
60
# Ansible ServiceNow external inventory script settings
[defaults]
# Specify the number of seconds to use the inventory cache before it is
# considered stale. If not defined, defaults to 0 seconds.
#cache_max_age = 3600
# Specify the directory used for storing the inventory cache. If not defined,
# caching will be disabled.
#cache_dir = .cache/ansible
[auth]
# The ServiceNow instance URI. The URI should be the fully-qualified domain name, e.g. 'your-instance.servicenow.com'.
# This setting may also be defined via the SN_INSTANCE environment variable.
instance = myinstance.service-now.com
# The ServiceNow instance user name. The user acount should have enough rights to read the cmdb_ci_server table.
# This setting may also be defined with the SN_USERNAME environment variable.
user = iruser
# The ServiceNow instance user password.
# This setting may also be defined with the SN_PASSWORD environment variable.
password = icanhasaccess
[config]
# The ServiceNow table to query (e.g. cmdb_ci_server, cmdb_ci_netgear, cmdb_ci_win_server, etc.).
#table = cmdb_ci_server
# NB: Do not use quotes or spaces in config parameter values.
# Comma seperated string providing additional table columns to use as groups. Groups can overlap with fields.
#groups = manufacturer,os
# Comma seperated string providing additional table columns to add as host vars to each inventory host.
#fields = manufacturer,os,os_version
# Comma seperated string providing ability to define selection preference order
# This setting will default to 'host_name,fqdn,ip_address' if unset.
#selection_order = host_name,fqdn,ip_address
# Filter results with sysparm_query encoded query string syntax.
#
# References: https://docs.servicenow.com/bundle/newyork-platform-user-interface/page/use/using-lists/task/t_GenEncodQueryStringFilter.html#t_GenEncodQueryStringFilter
# https://docs.servicenow.com/bundle/newyork-platform-user-interface/page/use/common-ui-elements/reference/r_OpAvailableFiltersQueries.html
#filter_results = operational_status=1^fqdnENDSWITH.somedomain.com^manufacturerSTARTSWITHAcme
# Proxy configuration
# This setting may also be defined with the SN_PROXY environment variable.
#proxy = http://myproxy.mydomain.com:8080