Skip to content

Commit 6533dcc

Browse files
committed
add config
1 parent f0812a6 commit 6533dcc

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

data/api.cfg

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#
44
# A restful HTTP API for ansible
55
# I am not a part of ansible official code
6+
#
7+
# https://github.com/lfbear/ansible-api
68
# ==============================================
79

810
##
@@ -19,6 +21,9 @@ port = 8765
1921
#signature string for api call
2022
sign_key = YOUR_SIGNATURE_KEY_HERE
2123

24+
#signature encryption method, md5 or sha256. sha256 suggested
25+
sign_mode = sha256
26+
2227
#log path if using daemon mode
2328
log_path = /var/log/ansible-api.log
2429

src/ansible_api/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# Author: lfbear
88

99

10-
# update at 2018.12.27
11-
__version__ = '0.5.0'
10+
# update at 2019.10.29
11+
__version__ = '0.5.1'
1212

1313
RTM_TYPE_OVERVIEW = 5
1414
RTM_TYPE_DETAIL = 6

0 commit comments

Comments
 (0)