Skip to content

Commit

Permalink
Molecule: Moves environmental variables to platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 23, 2024
1 parent 08383a0 commit 1c6ef6f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
10 changes: 6 additions & 4 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ lint: |
# yamllint .
# ansible-lint
platforms:
- name: ubuntu-latest
- env:
MT_RUNNER_MT5_LOGIN: "${MT_RUNNER_MT5_LOGIN:-CHANGEME}"
MT_RUNNER_MT5_PASSWORD: "${MT_RUNNER_MT5_PASSWORD:-CHANGEME}"
groups:
- mt5
image: ubuntu:latest
name: ubuntu-latest
provisioner:
config_options:
defaults:
remote_tmp: /tmp/.ansible-tmp-$${USER}
env:
MT_RUNNER_MT5_LOGIN: "${MT_RUNNER_MT5_LOGIN}"
MT_RUNNER_MT5_PASSWORD: "${MT_RUNNER_MT5_PASSWORD}"
name: ansible
inventory:
group_vars:
Expand Down
10 changes: 6 additions & 4 deletions molecule/mt4/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ lint: |
# yamllint .
# ansible-lint
platforms:
- name: ubuntu-latest
- env:
MT_RUNNER_MT5_LOGIN: "${MT_RUNNER_MT5_LOGIN:-CHANGEME}"
MT_RUNNER_MT5_PASSWORD: "${MT_RUNNER_MT5_PASSWORD:-CHANGEME}"
groups:
- mt4
image: ubuntu:latest
name: ubuntu-latest
provisioner:
config_options:
defaults:
remote_tmp: /tmp/.ansible-tmp-$${USER}
env:
MT_RUNNER_MT5_LOGIN: "${MT_RUNNER_MT5_LOGIN}"
MT_RUNNER_MT5_PASSWORD: "${MT_RUNNER_MT5_PASSWORD}"
name: ansible
inventory:
group_vars:
Expand Down
10 changes: 6 additions & 4 deletions molecule/mt5-ea/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ lint: |
# yamllint .
# ansible-lint
platforms:
- name: ubuntu-latest
- env:
MT_RUNNER_MT5_LOGIN: "${MT_RUNNER_MT5_LOGIN:-CHANGEME}"
MT_RUNNER_MT5_PASSWORD: "${MT_RUNNER_MT5_PASSWORD:-CHANGEME}"
groups:
- mt5
image: ubuntu:latest
name: ubuntu-latest
provisioner:
config_options:
defaults:
remote_tmp: /tmp/.ansible-tmp-$${USER}
env:
MT_RUNNER_MT5_LOGIN: "${MT_RUNNER_MT5_LOGIN}"
MT_RUNNER_MT5_PASSWORD: "${MT_RUNNER_MT5_PASSWORD}"
name: ansible
inventory:
group_vars:
Expand Down

0 comments on commit 1c6ef6f

Please sign in to comment.