{"action":"opened","issue":{"url":"https://api.github.com/repos/geerlingguy/awx-container/issues/23","repository_url":"https://api.github.com/repos/geerlingguy/awx-container","labels_url":"https://api.github.com/repos/geerlingguy/awx-container/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/geerlingguy/awx-container/issues/23/comments","events_url":"https://api.github.com/repos/geerlingguy/awx-container/issues/23/events","html_url":"https://github.com/geerlingguy/awx-container/issues/23","id":270000257,"number":23,"title":"can't acces to ansible_local","user":{"login":"blueyes666","id":29118527,"avatar_url":"https://avatars2.githubusercontent.com/u/29118527?v=4","gravatar_id":"","url":"https://api.github.com/users/blueyes666","html_url":"https://github.com/blueyes666","followers_url":"https://api.github.com/users/blueyes666/followers","following_url":"https://api.github.com/users/blueyes666/following{/other_user}","gists_url":"https://api.github.com/users/blueyes666/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyes666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyes666/subscriptions","organizations_url":"https://api.github.com/users/blueyes666/orgs","repos_url":"https://api.github.com/users/blueyes666/repos","events_url":"https://api.github.com/users/blueyes666/events{/privacy}","received_events_url":"https://api.github.com/users/blueyes666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-31T15:21:26Z","updated_at":"2017-10-31T15:21:26Z","closed_at":null,"author_association":"NONE","body":"Hi i'm new in AWX but i passed the day to run this is example who works fine with ansible command line ans does not work in AWX \r\n\r\ncat pp.yml\r\n---\r\n# Fonction principale pour l'ajout d'un groupe\r\n\r\n- hosts: all\r\n  become: yes\r\n  become_method: su\r\n\r\n  tasks:\r\n    - name: re-read facts after adding custom_was fact\r\n      setup: filter=ansible_local\r\n\r\n    - name: print ansible_local\r\n      debug: var=ansible_local\r\n\r\nthe result is :\r\n\r\n `root@s00vl9974554:/tools/ansible/ANSIBLE_GAO_DEV/ANSIBLE_GAO$ ansible-playbook pp.yml -Kk\r\nSSH password:\r\nSUDO password[defaults to SSH password]:\r\n\r\nPLAY [firefDev] ****************************************************************\r\n\r\nTASK [setup] *******************************************************************\r\nok: [firefDev]\r\n\r\nTASK [re-read facts after adding custom_was fact] ******************************\r\nok: [firefDev]\r\n\r\nTASK [print ansible_local] *****************************************************\r\nok: [firefDev] => {\r\n    \"ansible_local\": {\r\n        \"custom\": {\r\n            \"Application\": {\r\n                \"codeenv\": \"10824_r3f00\"\r\n            },\r\n            \"DirectoryDev\": {\r\n                \"archives\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/archives\",\r\n                \"archivesnossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/archives\",\r\n                \"archivesssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/archives\",\r\n                \"conf\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/conf\",\r\n                \"confarchives\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/archives/conf\",\r\n                \"confarchivesnossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/archives/conf\",\r\n                \"confarchivesssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/archives/conf\",\r\n                \"confnossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/conf\",\r\n                \"confssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/conf\",\r\n                \"htdocsarchivenossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/archives/htdocs\",\r\n                \"htdocsarchivessl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/archives/htdocs\",\r\n                \"htdocsnossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/htdocs\",\r\n                \"htdocsssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/htdocs\",\r\n                \"ihs\": \"/applis/10824-r3f00/ihs\",\r\n                \"installedapps\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/installedApps\",\r\n                \"installedappsarchives\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/archives/installedApps\",\r\n                \"jdbc\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/jdbc\",\r\n                \"jdbcarchives\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/archives/jbdc\",\r\n                \"lib\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/lib\",\r\n                \"libarchives\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/archives/lib\",\r\n                \"libraray\": \"/home/was/wasLibrary\",\r\n                \"lognossl\": \"/applis/logs/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1\",\r\n                \"logssl\": \"/applis/logs/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1\",\r\n                \"pluginnossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/plugin\",\r\n                \"pluginssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/plugin\",\r\n                \"serverdir\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1\",\r\n                \"serverlog\": \"/applis/logs/10824-r3f00/was/sa-10824_r3f00-prez-1\",\r\n                \"shared\": \"/applis/10824-r3f00/was/shared\",\r\n                \"sslarchivesssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/archives/ssl\",\r\n                \"sslssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/ss\",\r\n                \"temp\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/temp\",\r\n                \"tranlog\": \"/applis/logs/10824-r3f00/was/sa-10824_r3f00-prez-1/tranlog\",\r\n                \"was\": \"/applis/10824-r3f00/was\",\r\n                \"webservernossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1\",\r\n                \"webserverssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1\"\r\n            },\r\n            \"FileSystemDev\": {\r\n                \"fs_size\": \"2G\",\r\n                \"log_was_fs\": \"/applis/logs/10824-r3f00\",\r\n                \"log_was_lv_prez\": \"lv_przLog01\",\r\n                \"var_was_fs\": \"/applis/10824-r3f00\",\r\n                \"var_was_lv\": \"lv_prz01\",\r\n                \"vg_name\": \"vg_apps\"\r\n            },\r\n            \"UserGroup\": {\r\n                \"group\": \"web\",\r\n                \"user\": \"was\"\r\n            },\r\n            \"certificat\": {\r\n                \"keyfile\": \"someFile.kdb\",\r\n                \"stashfile\": \"someFile.sth\"\r\n            },\r\n            \"ihsEnvDev\": {\r\n                \"webnosecport\": \"10080\",\r\n                \"websecport\": \"10443\"\r\n            },\r\n            \"serverEnvDev\": {\r\n                \"admwasprofile\": \"/apps/WebSphere85S/profiles/svr\",\r\n                \"authalias\": \"authAlias\",\r\n                \"authaliaspassword\": \"DC%rop7j52s\",\r\n                \"authaliasuser\": \"R3FDEV_LINUX\",\r\n                \"bindingname1\": \"audit\",\r\n                \"bindingname2\": \"log4j\",\r\n                \"bindingname3\": \"local\",\r\n                \"bindingname4\": \"export\",\r\n                \"bindingname5\": \"refogws\",\r\n                \"bindingnamespace1\": \"config/audit\",\r\n                \"bindingnamespace2\": \"config/log4j\",\r\n                \"bindingnamespace3\": \"config/local\",\r\n                \"bindingnamespace4\": \"config/export\",\r\n                \"bindingnamespace5\": \"config/refogws\",\r\n                \"bindingvalue1\": \"file:///applis/10824-r3f/r3fdev01/conf/audit.properties\",\r\n                \"bindingvalue2\": \"file:///applis/10824-r3f/r3fdev01/conf/log4j.properties\",\r\n                \"bindingvalue3\": \"file:///applis/10824-r3f/r3fdev01/conf/firef.properties\",\r\n                \"bindingvalue4\": \"file:///applis/10824-r3f/r3fdev01/conf/export.properties\",\r\n                \"bindingvalue5\": \"file:///applis/10824-r3f/r3fdev01/conf/refogws.properties\",\r\n                \"code_application\": \"10824-r3f00\",\r\n                \"datasourcejndi\": \"jdbc/r3ffrp01\",\r\n                \"datasourcename\": \"p10824ap10\",\r\n                \"maxfiles\": \"10\",\r\n                \"maxfilesize\": \"10\",\r\n                \"memorymax\": \"8192\",\r\n                \"memorymin\": \"1024\",\r\n                \"propertiename\": \"com.ibm.tools.attach.enable\",\r\n                \"propertiename1\": \"com.ibm.websphere.servlet.temp.dir\",\r\n                \"propertiename2\": \"ebx.home\",\r\n                \"propertiename3\": \"ebx.properties\",\r\n                \"propertiename4\": \"java.awt.headless\",\r\n                \"propertiename5\": \"java.io.tmpdir\",\r\n                \"propertiename6\": \"loginpassword.authentication.disabled\",\r\n                \"propertievalue\": \"no\",\r\n                \"propertievalue1\": \"/applis/10824-r3f/was/sa-10824_r3f-prez-1/temp\",\r\n                \"propertievalue2\": \"/applis/10824-r3f/r3fprd01/ebx_home\",\r\n                \"propertievalue3\": \"/applis/10824-r3f/r3fprd01/ebx_home/ebx.properties\",\r\n                \"propertievalue4\": \"true\",\r\n                \"propertievalue5\": \"/applis/10824-r3f/r3fprd01/tmp\",\r\n                \"propertievalue6\": \"true\",\r\n                \"servername\": \"sa-10824-r3f00-prez-1\",\r\n                \"startingport\": \"12060\",\r\n                \"url\": \"http://firef-echonet.fr\",\r\n                \"urlds\": \"jdbc:oracle:thin:@D-10824-P.fr.net.intra:1521/D10824AP10\",\r\n                \"urlssl\": \"https://firef-echonet.fr\",\r\n                \"virtualhostname\": \"sa-10824-r3f00-prez-nossl-1_vh\",\r\n                \"virtualhostnamessl\": \"sa-10824-r3f00-prez-ssl-1_vh\"\r\n            }\r\n        },\r\n        \"custom_was\": {\r\n            \"Application\": {\r\n                \"codeenv\": \"10824_r3f00\"\r\n            },\r\n            \"DirectoryDev\": {\r\n                \"archives\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/archives\",\r\n                \"archivesnossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/archives\",\r\n                \"archivesssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/archives\",\r\n                \"conf\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/conf\",\r\n                \"confarchives\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/archives/conf\",\r\n                \"confarchivesnossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/archives/conf\",\r\n                \"confarchivesssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/archives/conf\",\r\n                \"confnossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/conf\",\r\n                \"confssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/conf\",\r\n                \"htdocsarchivenossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/archives/htdocs\",\r\n                \"htdocsarchivessl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/archives/htdocs\",\r\n                \"htdocsnossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/htdocs\",\r\n                \"htdocsssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/htdocs\",\r\n                \"ihs\": \"/applis/10824-r3f00/ihs\",\r\n                \"installedapps\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/installedApps\",\r\n                \"installedappsarchives\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/archives/installedApps\",\r\n                \"jdbc\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/jdbc\",\r\n                \"jdbcarchives\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/archives/jbdc\",\r\n                \"lib\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/lib\",\r\n                \"libarchives\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/archives/lib\",\r\n                \"libraray\": \"/home/was/wasLibrary\",\r\n                \"lognossl\": \"/applis/logs/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1\",\r\n                \"logssl\": \"/applis/logs/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1\",\r\n                \"pluginnossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1/plugin\",\r\n                \"pluginssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/plugin\",\r\n                \"serverdir\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1\",\r\n                \"serverlog\": \"/applis/logs/10824-r3f00/was/sa-10824_r3f00-prez-1\",\r\n                \"shared\": \"/applis/10824-r3f00/was/shared\",\r\n                \"sslarchivesssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/archives/ssl\",\r\n                \"sslssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1/ss\",\r\n                \"temp\": \"/applis/10824-r3f00/was/sa-10824_r3f00-prez-1/temp\",\r\n                \"tranlog\": \"/applis/logs/10824-r3f00/was/sa-10824_r3f00-prez-1/tranlog\",\r\n                \"was\": \"/applis/10824-r3f00/was\",\r\n                \"webservernossl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-nossl-1\",\r\n                \"webserverssl\": \"/applis/10824-r3f00/ihs/sw-10824_r3f00-prez-ssl-1\"\r\n            },\r\n            \"FileSystemDev\": {\r\n                \"fs_size\": \"2G\",\r\n                \"log_was_fs\": \"/applis/logs/10824-r3f00\",\r\n                \"log_was_lv_prez\": \"lv_przLog01\",\r\n                \"var_was_fs\": \"/applis/10824-r3f00\",\r\n                \"var_was_lv\": \"lv_prz01\",\r\n                \"vg_name\": \"vg_apps\"\r\n            },\r\n            \"UserGroup\": {\r\n                \"group\": \"web\",\r\n                \"user\": \"was\"\r\n            },\r\n            \"certificat\": {\r\n                \"keyfile\": \"someFile.kdb\",\r\n                \"stashfile\": \"someFile.sth\"\r\n            },\r\n            \"ihsEnvDev\": {\r\n                \"webnosecport\": \"10080\",\r\n                \"websecport\": \"10443\"\r\n            },\r\n            \"serverEnvDev\": {\r\n                \"admwasprofile\": \"/apps/WebSphere85S/profiles/svr\",\r\n                \"authalias\": \"authAlias\",\r\n                \"authaliaspassword\": \"DC%rop7j52s\",\r\n                \"authaliasuser\": \"R3FDEV_LINUX\",\r\n                \"bindingname1\": \"audit\",\r\n                \"bindingname2\": \"log4j\",\r\n                \"bindingname3\": \"local\",\r\n                \"bindingname4\": \"export\",\r\n                \"bindingname5\": \"refogws\",\r\n                \"bindingnamespace1\": \"config/audit\",\r\n                \"bindingnamespace2\": \"config/log4j\",\r\n                \"bindingnamespace3\": \"config/local\",\r\n                \"bindingnamespace4\": \"config/export\",\r\n                \"bindingnamespace5\": \"config/refogws\",\r\n                \"bindingvalue1\": \"file:///applis/10824-r3f/r3fdev01/conf/audit.properties\",\r\n                \"bindingvalue2\": \"file:///applis/10824-r3f/r3fdev01/conf/log4j.properties\",\r\n                \"bindingvalue3\": \"file:///applis/10824-r3f/r3fdev01/conf/firef.properties\",\r\n                \"bindingvalue4\": \"file:///applis/10824-r3f/r3fdev01/conf/export.properties\",\r\n                \"bindingvalue5\": \"file:///applis/10824-r3f/r3fdev01/conf/refogws.properties\",\r\n                \"code_application\": \"10824-r3f00\",\r\n                \"datasourcejndi\": \"jdbc/r3ffrp01\",\r\n                \"datasourcename\": \"p10824ap10\",\r\n                \"maxfiles\": \"10\",\r\n                \"maxfilesize\": \"10\",\r\n                \"memorymax\": \"8192\",\r\n                \"memorymin\": \"1024\",\r\n                \"propertiename\": \"com.ibm.tools.attach.enable\",\r\n                \"propertiename1\": \"com.ibm.websphere.servlet.temp.dir\",\r\n                \"propertiename2\": \"ebx.home\",\r\n                \"propertiename3\": \"ebx.properties\",\r\n                \"propertiename4\": \"java.awt.headless\",\r\n                \"propertiename5\": \"java.io.tmpdir\",\r\n                \"propertiename6\": \"loginpassword.authentication.disabled\",\r\n                \"propertievalue\": \"no\",\r\n                \"propertievalue1\": \"/applis/10824-r3f/was/sa-10824_r3f-prez-1/temp\",\r\n                \"propertievalue2\": \"/applis/10824-r3f/r3fprd01/ebx_home\",\r\n                \"propertievalue3\": \"/applis/10824-r3f/r3fprd01/ebx_home/ebx.properties\",\r\n                \"propertievalue4\": \"true\",\r\n                \"propertievalue5\": \"/applis/10824-r3f/r3fprd01/tmp\",\r\n                \"propertievalue6\": \"true\",\r\n                \"servername\": \"sa-10824-r3f00-prez-1\",\r\n                \"startingport\": \"12060\",\r\n                \"url\": \"http://firef-echonet.fr\",\r\n                \"urlds\": \"jdbc:oracle:thin:@D-10824-P.fr.net.intra:1521/D10824AP10\",\r\n                \"urlssl\": \"https://firef-echonet.fr\",\r\n                \"virtualhostname\": \"sa-10824-r3f00-prez-nossl-1_vh\",\r\n                \"virtualhostnamessl\": \"sa-10824-r3f00-prez-ssl-1_vh\"\r\n            }\r\n        }\r\n    }\r\n}\r\n\r\nPLAY RECAP *********************************************************************\r\nfirefDev                   : ok=3    changed=0    unreachable=0    failed=0`\r\n\r\n\r\nthe result is : \r\n\r\n![result](https://user-images.githubusercontent.com/29118527/32232020-5aff1ad2-be57-11e7-9893-689567804ce9.png)\r\n\r\nis there some spécific parameter ?\r\n"}}
{"actor":{"display_login":"blueyes666"}}