diff --git a/README.md b/README.md index 10ec29b..150166a 100644 --- a/README.md +++ b/README.md @@ -342,3 +342,4 @@ This role was written and contributed to by the following people: - [Dennis McCarthy](https://github.com/dmccuk) - [Seth Daemen](https://github.com/daemenseth) +- [Toby Lockyer] (https://github/tobylockyer) diff --git a/galaxy.yml b/galaxy.yml index ea5fa6a..d3518f9 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -9,7 +9,7 @@ namespace: apidb name: ansibledb_opensource # The version of the collection. Must be compatible with semantic versioning -version: 0.9.1 +version: 0.9.2 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/plugins/modules/apidb.py b/plugins/modules/apidb.py index 3248285..d69e18f 100644 --- a/plugins/modules/apidb.py +++ b/plugins/modules/apidb.py @@ -23,8 +23,7 @@ def sanitiseDict(d): def apidb(directory,p,apiendpoint,filename): - API_ENDPOINT = p["ansibledb_server"] + "/api/" + apiendpoint ## this will be http://35.177.212.236:5000 we should actually include http in the param too - #API_ENDPOINT = "http://localhost:5000/api/" + apiendpoint + API_ENDPOINT = p["ansibledb_server"] + "/api/" + apiendpoint headers = { 'Content-Type': 'text/json', 'Accept':'application/json'