Skip to content

Commit

Permalink
Updates molecule.yml for the rest of of scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaldas committed Oct 19, 2020
1 parent 7b1c8b9 commit 8ff1fb1
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 27 deletions.
12 changes: 6 additions & 6 deletions molecule/ansible-config/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ driver:
login_cmd_template: 'docker exec -ti {instance} bash'
ansible_connection_options:
connection: local
lint:
name: yamllint
lint: |
yamllint
platforms:
- name: localhost
provisioner:
name: ansible
playbooks:
prepare: ''
create: ''
lint:
name: ansible-lint
lint: |
ansible-lint
config_options:
defaults:
callback_whitelist: "profile_tasks, timer"
Expand All @@ -33,5 +33,5 @@ scenario:
- verify
verifier:
name: testinfra
lint:
name: flake8
lint: |
flake8
2 changes: 1 addition & 1 deletion molecule/libvirt-staging-focal/destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,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 }}"
Expand Down
6 changes: 3 additions & 3 deletions molecule/qubes-staging-focal/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ platforms:

provisioner:
name: ansible
lint:
name: ansible-lint
lint: |
ansible-lint
config_options:
defaults:
callback_whitelist: "profile_tasks, timer"
Expand All @@ -50,7 +50,7 @@ scenario:
verifier:
name: testinfra
lint:
name: flake8
flake8
directory: ../testinfra
options:
n: auto
Expand Down
10 changes: 5 additions & 5 deletions molecule/upgrade/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ driver:
name: vagrant
provider:
name: libvirt
lint:
name: yamllint
lint: |
yamllint
platforms:
- name: app-staging
Expand Down Expand Up @@ -47,8 +47,8 @@ platforms:

provisioner:
name: ansible
lint:
name: ansible-lint
lint: |
ansible-lint
inventory:
links:
group_vars: ../../install_files/ansible-base/group_vars
Expand Down Expand Up @@ -76,5 +76,5 @@ scenario:
- converge
verifier:
name: testinfra
lint:
lint: |
name: flake8
12 changes: 6 additions & 6 deletions molecule/vagrant-packager/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ driver:
name: vagrant
provider:
name: libvirt
lint:
name: yamllint
lint: |
yamllint
platforms:
- name: app-staging
Expand Down Expand Up @@ -35,8 +35,8 @@ platforms:

provisioner:
name: ansible
lint:
name: ansible-lint
lint: |
ansible-lint
inventory:
links:
group_vars: ../../install_files/ansible-base/group_vars
Expand Down Expand Up @@ -64,5 +64,5 @@ scenario:
- side_effect
verifier:
name: testinfra
lint:
name: flake8
lint: |
flake8
12 changes: 6 additions & 6 deletions molecule/virtualbox-staging-xenial/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ driver:
name: vagrant
provider:
name: libvirt
lint:
name: yamllint
lint: |
yamllint
platforms:
- name: app-staging
Expand Down Expand Up @@ -35,8 +35,8 @@ platforms:

provisioner:
name: ansible
lint:
name: ansible-lint
lint: |
ansible-lint
config_options:
defaults:
interpreter_python: auto
Expand All @@ -59,8 +59,8 @@ scenario:
- verify
verifier:
name: testinfra
lint:
name: flake8
lint: |
flake8
directory: ../testinfra
options:
n: auto
Expand Down

0 comments on commit 8ff1fb1

Please sign in to comment.