Initial commit
[ta/infra-ansible.git] / roles / yarf / templates / restful_config.j2
1 # {{ ansible_managed }}
2 [restframe]
3
4 #The port that the restful app will listen DEFAULT:61200
5 port=61200
6 #The IP address that the restful app will bind to DEFAULT:127.0.0.1
7 ip_address={{ hostname }}
8
9 # This option tells the restful app to run in debug mode or not. Defaults to True
10 debug={{ restful_debug_mode }}
11
12 #Authentication method to be used
13 auth_method={{ restful_authentication_method }}
14
15 #Use SSL or not
16 #If true then private key and certificate has to be also given DEFAULT:False
17 use_ssl=false
18 #ssl_private_key=PATHTOKEY/KEY.key
19 #ssl_certificate=PATHTOCERTIFICATE/CERT.crt
20
21 #The directory where the handlers are 
22 #Defaults to /usr/lib64/python2.7/site-packages/restfulframework/handlers
23 #handler_directory=/usr/lib64/python2.7/site-packages/restfulframework/handlers
24
25 [keystone]
26 user={{ restful_service_user_name }}
27 password={{ restful_service_password }}
28 auth_uri={{ keystone_service_internaluri }}
29
30 [AM]
31 host={{ auth_server_service_address }}
32 port={{ auth_server_service_port }}