diff --git a/molecule/upgrade/create.yml b/molecule/upgrade/create.yml index 8cf7a517ded..af96c87eb3b 100644 --- a/molecule/upgrade/create.yml +++ b/molecule/upgrade/create.yml @@ -11,7 +11,7 @@ tasks: - name: Create molecule instance(s) - molecule_vagrant: + vagrant: instance_name: "{{ item.name }}" instance_interfaces: "{{ item.interfaces | default(omit) }}" instance_raw_config_args: "{{ item.instance_raw_config_args | default(omit) }}" diff --git a/molecule/upgrade/destroy.yml b/molecule/upgrade/destroy.yml index 1ce71fc8f7c..f4457a64f10 100644 --- a/molecule/upgrade/destroy.yml +++ b/molecule/upgrade/destroy.yml @@ -11,7 +11,7 @@ molecule_ephemeral_directory: "{{ lookup('env', 'MOLECULE_EPHEMERAL_DIRECTORY') }}" tasks: - name: Destroy molecule instance(s) - molecule_vagrant: + vagrant: instance_name: "{{ item.name }}" platform_box: "{{ item.box }}" provider_name: "{{ molecule_yml.driver.provider.name }}" diff --git a/molecule/vagrant-packager/create.yml b/molecule/vagrant-packager/create.yml index 4c732b695fb..c2c13ee16f2 100644 --- a/molecule/vagrant-packager/create.yml +++ b/molecule/vagrant-packager/create.yml @@ -11,7 +11,7 @@ tasks: - name: Create molecule instance(s) - molecule_vagrant: + vagrant: instance_name: "{{ item.name }}" instance_interfaces: "{{ item.interfaces | default(omit) }}" instance_raw_config_args: "{{ item.instance_raw_config_args | default(omit) }}" diff --git a/molecule/vagrant-packager/destroy.yml b/molecule/vagrant-packager/destroy.yml index 1ce71fc8f7c..b98563c051f 100644 --- a/molecule/vagrant-packager/destroy.yml +++ b/molecule/vagrant-packager/destroy.yml @@ -11,7 +11,7 @@ molecule_ephemeral_directory: "{{ lookup('env', 'MOLECULE_EPHEMERAL_DIRECTORY') }}" tasks: - name: Destroy molecule instance(s) - molecule_vagrant: + vagrant: instance_name: "{{ item.name }}" platform_box: "{{ item.box }}" provider_name: "{{ molecule_yml.driver.provider.name }}" diff --git a/molecule/vagrant-packager/side_effect.yml b/molecule/vagrant-packager/side_effect.yml index 982ddf9e1d9..623aaf66461 100644 --- a/molecule/vagrant-packager/side_effect.yml +++ b/molecule/vagrant-packager/side_effect.yml @@ -32,7 +32,7 @@ connection: local tasks: - name: Halt vagrant instances - molecule_vagrant: + vagrant: instance_name: "{{ item.name }}" instance_raw_config_args: "{{ item.instance_raw_config_args | default(omit) }}" platform_box: "{{ item.box }}"