Skip to content

Commit

Permalink
Disable Ansible interpreter warnings (#2914)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Oct 27, 2020
1 parent 4ff8c20 commit 01a22bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/molecule/provisioner/ansible.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def default_config_options(self):
"retry_files_enabled": False,
"host_key_checking": False,
"nocows": 1,
"interpreter_python": "auto",
"interpreter_python": "auto_silent",
},
"ssh_connection": {
"scp_if_ssh": True,
Expand Down
5 changes: 3 additions & 2 deletions lib/molecule/test/unit/provisioner/test_ansible.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def test_default_config_options_property(_instance):
"display_failed_stderr": True,
"forks": 50,
"host_key_checking": False,
"interpreter_python": "auto",
# https://docs.ansible.com/ansible/devel/reference_appendices/interpreter_discovery.html
"interpreter_python": "auto_silent",
"nocows": 1,
"retry_files_enabled": False,
},
Expand Down Expand Up @@ -146,7 +147,7 @@ def test_config_options_property(_instance):
"foo": "bar",
"forks": 50,
"host_key_checking": False,
"interpreter_python": "auto",
"interpreter_python": "auto_silent",
"nocows": 1,
"retry_files_enabled": False,
},
Expand Down

0 comments on commit 01a22bc

Please sign in to comment.