{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/17748","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/17748/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/17748/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/17748/events","html_url":"https://github.com/ansible/ansible/issues/17748","id":179124247,"number":17748,"title":"local_tmp still seems to be ignored in ansible.cfg in 2.1.1.0","user":{"login":"davidorman","id":317904,"avatar_url":"https://avatars.githubusercontent.com/u/317904?v=3","gravatar_id":"","url":"https://api.github.com/users/davidorman","html_url":"https://github.com/davidorman","followers_url":"https://api.github.com/users/davidorman/followers","following_url":"https://api.github.com/users/davidorman/following{/other_user}","gists_url":"https://api.github.com/users/davidorman/gists{/gist_id}","starred_url":"https://api.github.com/users/davidorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidorman/subscriptions","organizations_url":"https://api.github.com/users/davidorman/orgs","repos_url":"https://api.github.com/users/davidorman/repos","events_url":"https://api.github.com/users/davidorman/events{/privacy}","received_events_url":"https://api.github.com/users/davidorman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-26T01:56:23Z","updated_at":"2016-09-26T04:25:13Z","closed_at":"2016-09-26T04:25:13Z","body":"<!---\r\nPlease do not report issues/requests related to Ansible modules here !!\r\n\r\nReport them to the appropriate modules-core or modules-extras project:\r\n  - https://github.com/ansible/ansible-modules-core/issues\r\n  - https://github.com/ansible/ansible-modules-extras/issues\r\n\r\nAlso verify first that your issue/request is not already reported in GitHub\r\n-->\r\n\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n \r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the plugin/task/feature -->\r\nlocal_tmp\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.1.1.0\r\n  config file = /home/vagrant/testdir/ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n\r\n```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nMention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).\r\n-->\r\nansible.cfg is just:\r\n[defaults]\r\ninventory = inventory\r\nlocal_tmp = /tmp/.ansible/tmp\r\n\r\n\r\n##### OS / ENVIRONMENT\r\n<!---\r\nMention the OS you are running Ansible from, and the OS you are\r\nmanaging, or say “N/A” for anything that is not platform-specific.\r\n-->\r\nrunning from CentOS 6.7 managing CentOS 6.7\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nlocal_tmp seems to be be ignored.  Files are still created in $HOME/.ansible/tmp\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem.\r\nFor new features, show how the feature would be used.\r\n-->\r\n[vagrant@localhost:~/testdir] $ more *\r\n::::::::::::::\r\nansible.cfg\r\n::::::::::::::\r\n[defaults]\r\ninventory = inventory\r\nlocal_tmp = /tmp/.ansible/tmp\r\n\r\n::::::::::::::\r\ninventory\r\n::::::::::::::\r\n[local]\r\nlocalhost ansible_connection=local\r\n\r\n[vagrant@localhost:~/testdir] 16s $ ansible all -m ping -vvv\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```\r\nNo playbooks needed to reproduce.  But behavior is the same if they are present.\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\n\r\ntmp files should be created in /tmp/.ansible/tmp  NOT $HOME/.ansible/tmp\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\nfiles are still being written to $HOME/.ansible/tmp\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\n[vagrant@localhost:~/testdir] $ ansible all -m ping -vvvv\r\nUsing /home/vagrant/testdir/ansible.cfg as config file\r\nLoaded callback minimal of type stdout, v2.0\r\n<localhost> ESTABLISH LOCAL CONNECTION FOR USER: vagrant\r\n<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p \"` echo $HOME/.ansible/tmp/ansible-tmp-1474854528.03-60929031415891 `\" && echo ansible-tmp-1474854528.03-60929031415891=\"` echo $HOME/.ansible/tmp/ansible-tmp-1474854528.03-60929031415891 `\" ) && sleep 0'\r\n<localhost> PUT /tmp/tmpkRSGeC TO /home/vagrant/.ansible/tmp/ansible-tmp-1474854528.03-60929031415891/ping\r\n<localhost> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1474854528.03-60929031415891/ping; rm -rf \"/home/vagrant/.ansible/tmp/ansible-tmp-1474854528.03-60929031415891/\" > /dev/null 2>&1 && sleep 0'\r\nlocalhost | SUCCESS => {\r\n    \"changed\": false,\r\n    \"invocation\": {\r\n        \"module_args\": {\r\n            \"data\": null\r\n        },\r\n        \"module_name\": \"ping\"\r\n    },\r\n    \"ping\": \"pong\"\r\n}\r\n[vagrant@localhost:~/testdir] $\r\n\r\n```\r\n"}}
{"actor":{"display_login":"davidorman"}}