Skip to content

Instantly share code, notes, and snippets.

@beneshed
Created April 24, 2016 13:04
Show Gist options
  • Save beneshed/5299d3d9986985697ae87a30a33890ec to your computer and use it in GitHub Desktop.
Save beneshed/5299d3d9986985697ae87a30a33890ec to your computer and use it in GitHub Desktop.
changed: [development -> localhost] => {"changed": true, "cmd": ["node", "../scripts/config-generator.js", "../config/example2.json", "../config/example2.json"], "delta": "0:00:00.077297", "end": "2016-04-24 16:03:55.873826", "invocation": {"module_args": {"_raw_params": "node ../scripts/config-generator.js ../config/example2.json ../config/example2.json", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2016-04-24 16:03:55.796529", "stderr": "", "stdout": "{\"web-app\":{\"servlet\":[{\"servlet-name\":\"cofaxCDS\",\"servlet-class\":\"org.cofax.cds.CDSServlet\",\"init-param\":{\"configGlossary:installationAt\":\"Philadelphia, PA\",\"configGlossary:adminEmail\":\"[email protected]\",\"configGlossary:poweredBy\":\"Cofax\",\"configGlossary:poweredByIcon\":\"/images/cofax.gif\",\"configGlossary:staticPath\":\"/content/static\",\"templateProcessorClass\":\"org.cofax.WysiwygTemplate\",\"templateLoaderClass\":\"org.cofax.FilesTemplateLoader\",\"templatePath\":\"templates\",\"templateOverridePath\":\"\",\"defaultListTemplate\":\"listTemplate.htm\",\"defaultFileTemplate\":\"articleTemplate.htm\",\"useJSP\":false,\"jspListTemplate\":\"listTemplate.jsp\",\"jspFileTemplate\":\"articleTemplate.jsp\",\"cachePackageTagsTrack\":200,\"cachePackageTagsStore\":200,\"cachePackageTagsRefresh\":60,\"cacheTemplatesTrack\":100,\"cacheTemplatesStore\":50,\"cacheTemplatesRefresh\":15,\"cachePagesTrack\":200,\"cachePagesStore\":100,\"cachePagesRefresh\":10,\"cachePagesDirtyRead\":10,\"searchEngineListTemplate\":\"forSearchEnginesList.htm\",\"searchEngineFileTemplate\":\"forSearchEngines.htm\",\"searchEngineRobotsDb\":\"WEB-INF/robots.db\",\"useDataStore\":true,\"dataStoreClass\":\"org.cofax.SqlDataStore\",\"redirectionClass\":\"org.cofax.SqlRedirection\",\"dataStoreName\":\"cofax\",\"dataStoreDriver\":\"com.microsoft.jdbc.sqlserver.SQLServerDriver\",\"dataStoreUrl\":\"jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon\",\"dataStoreUser\":\"sa\",\"dataStorePassword\":\"dataStoreTestQuery\",\"dataStoreTestQuery\":\"SET NOCOUNT ON;select test='test';\",\"dataStoreLogFile\":\"/usr/local/tomcat/logs/datastore.log\",\"dataStoreInitConns\":10,\"dataStoreMaxConns\":100,\"dataStoreConnUsageLimit\":100,\"dataStoreLogLevel\":\"debug\",\"maxUrlLength\":500}},{\"servlet-name\":\"cofaxEmail\",\"servlet-class\":\"org.cofax.cds.EmailServlet\",\"init-param\":{\"mailHost\":\"mail1\",\"mailHostOverride\":\"mail2\"}},{\"servlet-name\":\"cofaxAdmin\",\"servlet-class\":\"org.cofax.cds.AdminServlet\"},{\"servlet-name\":\"fileServlet\",\"servlet-class\":\"org.cofax.cds.FileServlet\"},{\"servlet-name\":\"cofaxTools\",\"servlet-class\":\"org.cofax.cms.CofaxToolsServlet\",\"init-param\":{\"templatePath\":\"toolstemplates/\",\"log\":1,\"logLocation\":\"/usr/local/tomcat/logs/CofaxTools.log\",\"logMaxSize\":\"\",\"dataLog\":1,\"dataLogLocation\":\"/usr/local/tomcat/logs/dataLog.log\",\"dataLogMaxSize\":\"\",\"removePageCache\":\"/content/admin/remove?cache=pages&id=\",\"removeTemplateCache\":\"/content/admin/remove?cache=templates&id=\",\"fileTransferFolder\":\"/usr/local/tomcat/webapps/content/fileTransferFolder\",\"lookInContext\":1,\"adminGroupID\":4,\"betaServer\":true}}],\"servlet-mapping\":{\"cofaxCDS\":\"/\",\"cofaxEmail\":\"/cofaxutil/aemail/*\",\"cofaxAdmin\":\"/admin/*\",\"fileServlet\":\"/static/*\",\"cofaxTools\":\"/tools/*\"},\"taglib\":{\"taglib-uri\":\"cofax.tld\",\"taglib-location\":\"/WEB-INF/tlds/cofax.tld\"}}}", "stdout_lines": ["{\"web-app\":{\"servlet\":[{\"servlet-name\":\"cofaxCDS\",\"servlet-class\":\"org.cofax.cds.CDSServlet\",\"init-param\":{\"configGlossary:installationAt\":\"Philadelphia, PA\",\"configGlossary:adminEmail\":\"[email protected]\",\"configGlossary:poweredBy\":\"Cofax\",\"configGlossary:poweredByIcon\":\"/images/cofax.gif\",\"configGlossary:staticPath\":\"/content/static\",\"templateProcessorClass\":\"org.cofax.WysiwygTemplate\",\"templateLoaderClass\":\"org.cofax.FilesTemplateLoader\",\"templatePath\":\"templates\",\"templateOverridePath\":\"\",\"defaultListTemplate\":\"listTemplate.htm\",\"defaultFileTemplate\":\"articleTemplate.htm\",\"useJSP\":false,\"jspListTemplate\":\"listTemplate.jsp\",\"jspFileTemplate\":\"articleTemplate.jsp\",\"cachePackageTagsTrack\":200,\"cachePackageTagsStore\":200,\"cachePackageTagsRefresh\":60,\"cacheTemplatesTrack\":100,\"cacheTemplatesStore\":50,\"cacheTemplatesRefresh\":15,\"cachePagesTrack\":200,\"cachePagesStore\":100,\"cachePagesRefresh\":10,\"cachePagesDirtyRead\":10,\"searchEngineListTemplate\":\"forSearchEnginesList.htm\",\"searchEngineFileTemplate\":\"forSearchEngines.htm\",\"searchEngineRobotsDb\":\"WEB-INF/robots.db\",\"useDataStore\":true,\"dataStoreClass\":\"org.cofax.SqlDataStore\",\"redirectionClass\":\"org.cofax.SqlRedirection\",\"dataStoreName\":\"cofax\",\"dataStoreDriver\":\"com.microsoft.jdbc.sqlserver.SQLServerDriver\",\"dataStoreUrl\":\"jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon\",\"dataStoreUser\":\"sa\",\"dataStorePassword\":\"dataStoreTestQuery\",\"dataStoreTestQuery\":\"SET NOCOUNT ON;select test='test';\",\"dataStoreLogFile\":\"/usr/local/tomcat/logs/datastore.log\",\"dataStoreInitConns\":10,\"dataStoreMaxConns\":100,\"dataStoreConnUsageLimit\":100,\"dataStoreLogLevel\":\"debug\",\"maxUrlLength\":500}},{\"servlet-name\":\"cofaxEmail\",\"servlet-class\":\"org.cofax.cds.EmailServlet\",\"init-param\":{\"mailHost\":\"mail1\",\"mailHostOverride\":\"mail2\"}},{\"servlet-name\":\"cofaxAdmin\",\"servlet-class\":\"org.cofax.cds.AdminServlet\"},{\"servlet-name\":\"fileServlet\",\"servlet-class\":\"org.cofax.cds.FileServlet\"},{\"servlet-name\":\"cofaxTools\",\"servlet-class\":\"org.cofax.cms.CofaxToolsServlet\",\"init-param\":{\"templatePath\":\"toolstemplates/\",\"log\":1,\"logLocation\":\"/usr/local/tomcat/logs/CofaxTools.log\",\"logMaxSize\":\"\",\"dataLog\":1,\"dataLogLocation\":\"/usr/local/tomcat/logs/dataLog.log\",\"dataLogMaxSize\":\"\",\"removePageCache\":\"/content/admin/remove?cache=pages&id=\",\"removeTemplateCache\":\"/content/admin/remove?cache=templates&id=\",\"fileTransferFolder\":\"/usr/local/tomcat/webapps/content/fileTransferFolder\",\"lookInContext\":1,\"adminGroupID\":4,\"betaServer\":true}}],\"servlet-mapping\":{\"cofaxCDS\":\"/\",\"cofaxEmail\":\"/cofaxutil/aemail/*\",\"cofaxAdmin\":\"/admin/*\",\"fileServlet\":\"/static/*\",\"cofaxTools\":\"/tools/*\"},\"taglib\":{\"taglib-uri\":\"cofax.tld\",\"taglib-location\":\"/WEB-INF/tlds/cofax.tld\"}}}"], "warnings": []}
ok: [development] => {"ansible_facts": {"worker_settings": {"web-app": {"servlet": [{"init-param": {"cachePackageTagsRefresh": 60, "cachePackageTagsStore": 200, "cachePackageTagsTrack": 200, "cachePagesDirtyRead": 10, "cachePagesRefresh": 10, "cachePagesStore": 100, "cachePagesTrack": 200, "cacheTemplatesRefresh": 15, "cacheTemplatesStore": 50, "cacheTemplatesTrack": 100, "configGlossary:adminEmail": "[email protected]", "configGlossary:installationAt": "Philadelphia, PA", "configGlossary:poweredBy": "Cofax", "configGlossary:poweredByIcon": "/images/cofax.gif", "configGlossary:staticPath": "/content/static", "dataStoreClass": "org.cofax.SqlDataStore", "dataStoreConnUsageLimit": 100, "dataStoreDriver": "com.microsoft.jdbc.sqlserver.SQLServerDriver", "dataStoreInitConns": 10, "dataStoreLogFile": "/usr/local/tomcat/logs/datastore.log", "dataStoreLogLevel": "debug", "dataStoreMaxConns": 100, "dataStoreName": "cofax", "dataStorePassword": "dataStoreTestQuery", "dataStoreTestQuery": "SET NOCOUNT ON;select test='test';", "dataStoreUrl": "jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon", "dataStoreUser": "sa", "defaultFileTemplate": "articleTemplate.htm", "defaultListTemplate": "listTemplate.htm", "jspFileTemplate": "articleTemplate.jsp", "jspListTemplate": "listTemplate.jsp", "maxUrlLength": 500, "redirectionClass": "org.cofax.SqlRedirection", "searchEngineFileTemplate": "forSearchEngines.htm", "searchEngineListTemplate": "forSearchEnginesList.htm", "searchEngineRobotsDb": "WEB-INF/robots.db", "templateLoaderClass": "org.cofax.FilesTemplateLoader", "templateOverridePath": "", "templatePath": "templates", "templateProcessorClass": "org.cofax.WysiwygTemplate", "useDataStore": true, "useJSP": false}, "servlet-class": "org.cofax.cds.CDSServlet", "servlet-name": "cofaxCDS"}, {"init-param": {"mailHost": "mail1", "mailHostOverride": "mail2"}, "servlet-class": "org.cofax.cds.EmailServlet", "servlet-name": "cofaxEmail"}, {"servlet-class": "org.cofax.cds.AdminServlet", "servlet-name": "cofaxAdmin"}, {"servlet-class": "org.cofax.cds.FileServlet", "servlet-name": "fileServlet"}, {"init-param": {"adminGroupID": 4, "betaServer": true, "dataLog": 1, "dataLogLocation": "/usr/local/tomcat/logs/dataLog.log", "dataLogMaxSize": "", "fileTransferFolder": "/usr/local/tomcat/webapps/content/fileTransferFolder", "log": 1, "logLocation": "/usr/local/tomcat/logs/CofaxTools.log", "logMaxSize": "", "lookInContext": 1, "removePageCache": "/content/admin/remove?cache=pages&id=", "removeTemplateCache": "/content/admin/remove?cache=templates&id=", "templatePath": "toolstemplates/"}, "servlet-class": "org.cofax.cms.CofaxToolsServlet", "servlet-name": "cofaxTools"}], "servlet-mapping": {"cofaxAdmin": "/admin/*", "cofaxCDS": "/", "cofaxEmail": "/cofaxutil/aemail/*", "cofaxTools": "/tools/*", "fileServlet": "/static/*"}, "taglib": {"taglib-location": "/WEB-INF/tlds/cofax.tld", "taglib-uri": "cofax.tld"}}}}, "changed": false, "invocation": {"module_args": {"worker_settings": {"web-app": {"servlet": [{"init-param": {"cachePackageTagsRefresh": 60, "cachePackageTagsStore": 200, "cachePackageTagsTrack": 200, "cachePagesDirtyRead": 10, "cachePagesRefresh": 10, "cachePagesStore": 100, "cachePagesTrack": 200, "cacheTemplatesRefresh": 15, "cacheTemplatesStore": 50, "cacheTemplatesTrack": 100, "configGlossary:adminEmail": "[email protected]", "configGlossary:installationAt": "Philadelphia, PA", "configGlossary:poweredBy": "Cofax", "configGlossary:poweredByIcon": "/images/cofax.gif", "configGlossary:staticPath": "/content/static", "dataStoreClass": "org.cofax.SqlDataStore", "dataStoreConnUsageLimit": 100, "dataStoreDriver": "com.microsoft.jdbc.sqlserver.SQLServerDriver", "dataStoreInitConns": 10, "dataStoreLogFile": "/usr/local/tomcat/logs/datastore.log", "dataStoreLogLevel": "debug", "dataStoreMaxConns": 100, "dataStoreName": "cofax", "dataStorePassword": "dataStoreTestQuery", "dataStoreTestQuery": "SET NOCOUNT ON;select test='test';", "dataStoreUrl": "jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon", "dataStoreUser": "sa", "defaultFileTemplate": "articleTemplate.htm", "defaultListTemplate": "listTemplate.htm", "jspFileTemplate": "articleTemplate.jsp", "jspListTemplate": "listTemplate.jsp", "maxUrlLength": 500, "redirectionClass": "org.cofax.SqlRedirection", "searchEngineFileTemplate": "forSearchEngines.htm", "searchEngineListTemplate": "forSearchEnginesList.htm", "searchEngineRobotsDb": "WEB-INF/robots.db", "templateLoaderClass": "org.cofax.FilesTemplateLoader", "templateOverridePath": "", "templatePath": "templates", "templateProcessorClass": "org.cofax.WysiwygTemplate", "useDataStore": true, "useJSP": false}, "servlet-class": "org.cofax.cds.CDSServlet", "servlet-name": "cofaxCDS"}, {"init-param": {"mailHost": "mail1", "mailHostOverride": "mail2"}, "servlet-class": "org.cofax.cds.EmailServlet", "servlet-name": "cofaxEmail"}, {"servlet-class": "org.cofax.cds.AdminServlet", "servlet-name": "cofaxAdmin"}, {"servlet-class": "org.cofax.cds.FileServlet", "servlet-name": "fileServlet"}, {"init-param": {"adminGroupID": 4, "betaServer": true, "dataLog": 1, "dataLogLocation": "/usr/local/tomcat/logs/dataLog.log", "dataLogMaxSize": "", "fileTransferFolder": "/usr/local/tomcat/webapps/content/fileTransferFolder", "log": 1, "logLocation": "/usr/local/tomcat/logs/CofaxTools.log", "logMaxSize": "", "lookInContext": 1, "removePageCache": "/content/admin/remove?cache=pages&id=", "removeTemplateCache": "/content/admin/remove?cache=templates&id=", "templatePath": "toolstemplates/"}, "servlet-class": "org.cofax.cms.CofaxToolsServlet", "servlet-name": "cofaxTools"}], "servlet-mapping": {"cofaxAdmin": "/admin/*", "cofaxCDS": "/", "cofaxEmail": "/cofaxutil/aemail/*", "cofaxTools": "/tools/*", "fileServlet": "/static/*"}, "taglib": {"taglib-location": "/WEB-INF/tlds/cofax.tld", "taglib-uri": "cofax.tld"}}}}, "module_name": "set_fact"}}
ok: [development] => {
"worker_settings": {
"web-app": {
"servlet": [
{
"init-param": {
"cachePackageTagsRefresh": 60,
"cachePackageTagsStore": 200,
"cachePackageTagsTrack": 200,
"cachePagesDirtyRead": 10,
"cachePagesRefresh": 10,
"cachePagesStore": 100,
"cachePagesTrack": 200,
"cacheTemplatesRefresh": 15,
"cacheTemplatesStore": 50,
"cacheTemplatesTrack": 100,
"configGlossary:adminEmail": "[email protected]",
"configGlossary:installationAt": "Philadelphia, PA",
"configGlossary:poweredBy": "Cofax",
"configGlossary:poweredByIcon": "/images/cofax.gif",
"configGlossary:staticPath": "/content/static",
"dataStoreClass": "org.cofax.SqlDataStore",
"dataStoreConnUsageLimit": 100,
"dataStoreDriver": "com.microsoft.jdbc.sqlserver.SQLServerDriver",
"dataStoreInitConns": 10,
"dataStoreLogFile": "/usr/local/tomcat/logs/datastore.log",
"dataStoreLogLevel": "debug",
"dataStoreMaxConns": 100,
"dataStoreName": "cofax",
"dataStorePassword": "dataStoreTestQuery",
"dataStoreTestQuery": "SET NOCOUNT ON;select test='test';",
"dataStoreUrl": "jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon",
"dataStoreUser": "sa",
"defaultFileTemplate": "articleTemplate.htm",
"defaultListTemplate": "listTemplate.htm",
"jspFileTemplate": "articleTemplate.jsp",
"jspListTemplate": "listTemplate.jsp",
"maxUrlLength": 500,
"redirectionClass": "org.cofax.SqlRedirection",
"searchEngineFileTemplate": "forSearchEngines.htm",
"searchEngineListTemplate": "forSearchEnginesList.htm",
"searchEngineRobotsDb": "WEB-INF/robots.db",
"templateLoaderClass": "org.cofax.FilesTemplateLoader",
"templateOverridePath": "",
"templatePath": "templates",
"templateProcessorClass": "org.cofax.WysiwygTemplate",
"useDataStore": true,
"useJSP": false
},
"servlet-class": "org.cofax.cds.CDSServlet",
"servlet-name": "cofaxCDS"
},
{
"init-param": {
"mailHost": "mail1",
"mailHostOverride": "mail2"
},
"servlet-class": "org.cofax.cds.EmailServlet",
"servlet-name": "cofaxEmail"
},
{
"servlet-class": "org.cofax.cds.AdminServlet",
"servlet-name": "cofaxAdmin"
},
{
"servlet-class": "org.cofax.cds.FileServlet",
"servlet-name": "fileServlet"
},
{
"init-param": {
"adminGroupID": 4,
"betaServer": true,
"dataLog": 1,
"dataLogLocation": "/usr/local/tomcat/logs/dataLog.log",
"dataLogMaxSize": "",
"fileTransferFolder": "/usr/local/tomcat/webapps/content/fileTransferFolder",
"log": 1,
"logLocation": "/usr/local/tomcat/logs/CofaxTools.log",
"logMaxSize": "",
"lookInContext": 1,
"removePageCache": "/content/admin/remove?cache=pages&id=",
"removeTemplateCache": "/content/admin/remove?cache=templates&id=",
"templatePath": "toolstemplates/"
},
"servlet-class": "org.cofax.cms.CofaxToolsServlet",
"servlet-name": "cofaxTools"
}
],
"servlet-mapping": {
"cofaxAdmin": "/admin/*",
"cofaxCDS": "/",
"cofaxEmail": "/cofaxutil/aemail/*",
"cofaxTools": "/tools/*",
"fileServlet": "/static/*"
},
"taglib": {
"taglib-location": "/WEB-INF/tlds/cofax.tld",
"taglib-uri": "cofax.tld"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment