{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/39866","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/39866/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/39866/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/39866/events","html_url":"https://github.com/ansible/ansible/issues/39866","id":321289514,"number":39866,"title":"ansible.cfg","user":{"login":"shezaan","id":31293591,"avatar_url":"https://avatars2.githubusercontent.com/u/31293591?v=4","gravatar_id":"","url":"https://api.github.com/users/shezaan","html_url":"https://github.com/shezaan","followers_url":"https://api.github.com/users/shezaan/followers","following_url":"https://api.github.com/users/shezaan/following{/other_user}","gists_url":"https://api.github.com/users/shezaan/gists{/gist_id}","starred_url":"https://api.github.com/users/shezaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shezaan/subscriptions","organizations_url":"https://api.github.com/users/shezaan/orgs","repos_url":"https://api.github.com/users/shezaan/repos","events_url":"https://api.github.com/users/shezaan/events{/privacy}","received_events_url":"https://api.github.com/users/shezaan/received_events","type":"User","site_admin":false},"labels":[{"id":686214011,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.5","name":"affects_2.5","color":"ededed","default":false},{"id":785271699,"url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":503572087,"url":"https://api.github.com/repos/ansible/ansible/labels/needs_triage","name":"needs_triage","color":"0e8a16","default":false},{"id":636352796,"url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-08T18:07:31Z","updated_at":"2018-05-10T02:14:47Z","closed_at":"2018-05-10T02:14:46Z","author_association":"NONE","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nTHIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.\r\nAlso test if the latest release, and devel branch are affected too.\r\nALWAYS add information AFTER (OUTSIDE) these html comments.\r\nOtherwise it may end up being automatically closed by our bot. -->\r\n\r\n##### ISSUE TYPE\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.\r\nDo not include extra details here, e.g. \"vyos_command\" not \"the network module vyos_command\" or the full path-->\r\nconfig\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste, BELOW THIS COMMENT, verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.5.2\r\n  config file = /Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg\r\n  configured module search path = [u'/Users/stopiwal/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible\r\n  executable location = /usr/local/bin/ansible\r\n  python version = 2.7.15 (default, May  1 2018, 16:44:08) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]\r\n```\r\n\r\n##### CONFIGURATION\r\n<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of \"ansible-config dump --only-changed\"\r\nOtherwise, mention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).-->\r\nANSIBLE_FORCE_COLOR(/Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg) = True\r\nANY_ERRORS_FATAL(/Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg) = True\r\nDEFAULT_HOST_LIST(/Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg) = [u'/Users/stopiwal/code/ansible-playbook-mdm-inDEFAULT_ROLES_PATH(/Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg) = [u'/Users/stopiwal/code/ansible-playbook-mdm-iHOST_KEY_CHECKING(/Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg) = False\r\nRETRY_FILES_ENABLED(/Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg) = False\r\n\r\n##### OS / ENVIRONMENT\r\n<!--- Mention, BELOW THIS COMMENT, 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\nAlso mention the specific version of what you are trying to control,\r\ne.g. if this is a network bug the version of firmware on the network device.-->\r\nMacOS High Sierra 10.13.4\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nWhen provisioning my AWS inventory with the ansible-playbook command I get following error...\r\nUsing /Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg as config file\r\n [ERROR]:\r\n\r\nThe \"ERROR\" line is completely empty and only shows up after I export my AWS_PROFILE with\r\nexport AWS_PROFILE=nonprod\r\n\r\n##### STEPS TO REPRODUCE\r\n<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.\r\nFor new features, show how the feature would be used. -->\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\nexport AWS_PROFILE=nonprod\r\nansible-playbook mdm_elasticsearch_6.x.yml -vvvv --vault-password vault_pass -i inventory/dev/blue/ -e env=dev\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\nThe ERROR line is confusing although ansible seems to behave correctly and the playbook runs to completion correctly\r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\nAnsible reports an error like so...\r\nUsing /Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg as config file\r\n [ERROR]:\r\n\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\nansible-playbook 2.5.2\r\n  config file = /Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg\r\n  configured module search path = [u'/Users/stopiwal/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible\r\n  executable location = /usr/local/bin/ansible-playbook\r\n  python version = 2.7.15 (default, May  1 2018, 16:44:08) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]\r\nUsing /Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/ansible.cfg as config file\r\nsetting up inventory plugins\r\nParsed /Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/inventory/dev/blue/aws_groups inventory source with ini plugin\r\n [ERROR]:\r\n\r\nParsed /Users/stopiwal/code/ansible-playbook-mdm-infrastructure-provisioning/inventory/dev/blue/ec2.py inventory source with script plugin\r\nRead vars_file 'defaults/main.yml'\r\nRead vars_file 'vars/{{env}}.yml'\r\nRead vars_file 'vars/{{env}}_secrets.yml'\r\nRead vars_file 'defaults/main.yml'\r\nRead vars_file 'vars/{{env}}.yml'\r\nRead vars_file 'vars/{{env}}_secrets.yml'\r\nRead vars_file 'defaults/main.yml'\r\nRead vars_file 'vars/{{env}}.yml'\r\nRead vars_file 'vars/{{env}}_secrets.yml'\r\nRead vars_file 'defaults/main.yml'\r\nRead vars_file 'vars/{{env}}.yml'\r\nRead vars_file 'vars/{{env}}_secrets.yml'\r\nRead vars_file 'defaults/main.yml'\r\nRead vars_file 'vars/{{env}}.yml'\r\nRead vars_file 'vars/{{env}}_secrets.yml'\r\nRead vars_file 'defaults/main.yml'\r\nRead vars_file 'vars/{{env}}.yml'\r\nRead vars_file 'vars/{{env}}_secrets.yml'\r\nLoading callback plugin default of type stdout, v2.0 from /usr/local/lib/python2.7/site-packages/ansible/plugins/callback/default.pyc\r\n\r\nPLAYBOOK: mdm_elasticsearch_6.x.yml *****************************************************************************************************************\r\n4 plays in mdm_elasticsearch_6.x.yml\r\n\r\n```\r\n"}}
{"actor":{"display_login":"jborean93"}}