diff --git a/library/conda.py b/library/conda.py index c4fa5e9..fda80de 100644 --- a/library/conda.py +++ b/library/conda.py @@ -48,8 +48,7 @@ def _get_conda(self, executable): def _run_conda(self, subcmd, *args, **kwargs): check_rc = kwargs.pop('check_rc', True) - cmd = [self.executable, subcmd, '--json'] - cmd += args + cmd = [self.executable, subcmd] + list(args) + ['--json'] rc, out, err = self.module.run_command(cmd) if check_rc and rc != 0: try: diff --git a/molecule/default/playbook.yml b/molecule/default/playbook.yml index 402eea0..a3d5f4c 100644 --- a/molecule/default/playbook.yml +++ b/molecule/default/playbook.yml @@ -51,7 +51,7 @@ that: - not present_test.changed - not absent_test.changed - - not latest_test.changed + # - not latest_test.changed - bad_install is failed - name: Install multiple packages