diff --git a/molecule/provisioner/ansible.py b/molecule/provisioner/ansible.py index 870f26999..16ece953a 100644 --- a/molecule/provisioner/ansible.py +++ b/molecule/provisioner/ansible.py @@ -383,13 +383,17 @@ def default_config_options(self): return { 'defaults': { 'ansible_managed': 'Ansible managed: Do NOT edit this file manually!', + 'display_failed_stderr': True, + 'forks': 50, 'retry_files_enabled': False, 'host_key_checking': False, 'nocows': 1, + 'interpreter_python': 'auto', }, 'ssh_connection': { 'scp_if_ssh': True, 'control_path': '%(directory)s/%%h-%%p-%%r', + 'pipelining': True, }, } diff --git a/molecule/test/unit/provisioner/test_ansible.py b/molecule/test/unit/provisioner/test_ansible.py index dd0cb12a5..3fc157d7f 100644 --- a/molecule/test/unit/provisioner/test_ansible.py +++ b/molecule/test/unit/provisioner/test_ansible.py @@ -102,13 +102,17 @@ def test_default_config_options_property(_instance): x = { 'defaults': { 'ansible_managed': 'Ansible managed: Do NOT edit this file manually!', - 'retry_files_enabled': False, + 'display_failed_stderr': True, + 'forks': 50, 'host_key_checking': False, + 'interpreter_python': 'auto', 'nocows': 1, + 'retry_files_enabled': False, }, 'ssh_connection': { - 'scp_if_ssh': True, 'control_path': '%(directory)s/%%h-%%p-%%r', + 'pipelining': True, + 'scp_if_ssh': True, }, } @@ -148,14 +152,18 @@ def test_config_options_property(_instance): x = { 'defaults': { 'ansible_managed': 'Ansible managed: Do NOT edit this file manually!', - 'retry_files_enabled': False, + 'display_failed_stderr': True, + 'foo': 'bar', + 'forks': 50, 'host_key_checking': False, + 'interpreter_python': 'auto', 'nocows': 1, - 'foo': 'bar', + 'retry_files_enabled': False, }, 'ssh_connection': { - 'scp_if_ssh': True, 'control_path': '%(directory)s/%%h-%%p-%%r', + 'pipelining': True, + 'scp_if_ssh': True, }, }