[feature/APPC-7] ansible server commit
[appc.git] / appc-adapters / appc-ansible-adapter / appc-ansible-example-server / RestServer_config
1 # /*-
2 # * ============LICENSE_START=======================================================
3 # * APPC
4 # * ================================================================================
5 # * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
6 # * ================================================================================
7 # * Licensed under the Apache License, Version 2.0 (the "License");
8 # * you may not use this file except in compliance with the License.
9 # * You may obtain a copy of the License at
10 # *
11 # *      http://www.apache.org/licenses/LICENSE-2.0
12 # *
13 # * Unless required by applicable law or agreed to in writing, software
14 # * distributed under the License is distributed on an "AS IS" BASIS,
15 # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # * See the License for the specific language governing permissions and
17 # * limitations under the License.
18 # * ============LICENSE_END=========================================================
19 # * ECOMP is a trademark and service mark of AT&T Intellectual Property.
20 # */
21
22 # Host definition
23 ip:     0.0.0.0 
24 port:   8000
25
26 # Security (controls use of TLS encrypton and RestServer authentication)
27 tls:    no
28 auth:   no
29
30 # TLS certificates (must be built on application host)
31 priv:   provide_privated_key.pem
32 pub:    provide_public_key.pem
33
34 # RestServer authentication
35 id:     provide_RestServer_id
36 psswd:  provide_password_4_RestServer_id
37
38 # Mysql
39 host:   localhost
40 user:   mysql_user_id
41 passwd: password_4_mysql_user_id
42 db:     ansible
43
44 # Playbooks
45 from_files:             yes
46 ansible_path:           /home/ubuntu/RestServerOpenSource
47 ansible_inv:            Ansible_inventory
48 ansible_temp:           PlaybooksTemp
49 timeout_seconds:        60
50
51 # Blocking on GetResults
52 getresults_block:       yes