Skip to content

Commit

Permalink
Refactor molecule inventory vardefs
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak committed Nov 4, 2023
1 parent 15b27ca commit 257735a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 31 deletions.
1 change: 0 additions & 1 deletion molecule/common/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@
retries: 2
delay: 60
until: _output_file.stat.exists
when:
27 changes: 13 additions & 14 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,19 @@ provisioner:
defaults:
callbacks_enabled: ansible.posix.profile_tasks
inventory:
hosts:
group_vars:
all:
vars:
heartbeat_package_hold: true
heartbeat_conf:
heartbeat:
monitors:
- type: http
schedule: '*/1 * * * * * *'
urls:
- https://www.google.com
output:
file:
path: /tmp
filename: heartbeat
heartbeat_package_hold: true
heartbeat_conf:
heartbeat:
monitors:
- type: http
schedule: '*/1 * * * * * *'
urls:
- https://www.google.com
output:
file:
path: /tmp
filename: heartbeat
verifier:
name: ansible
31 changes: 15 additions & 16 deletions molecule/elastic/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,21 @@ provisioner:
defaults:
callbacks_enabled: ansible.posix.profile_tasks
inventory:
hosts:
group_vars:
all:
vars:
elasticsearch_repo_major_version: 8
elastic_repo_oss: false
heartbeat_package_hold: true
heartbeat_conf:
heartbeat:
monitors:
- type: http
schedule: '*/1 * * * * * *'
urls:
- https://www.google.com
output:
file:
path: /tmp
filename: heartbeat
elasticsearch_repo_major_version: 8
elastic_repo_oss: false
heartbeat_package_hold: true
heartbeat_conf:
heartbeat:
monitors:
- type: http
schedule: '*/1 * * * * * *'
urls:
- https://www.google.com
output:
file:
path: /tmp
filename: heartbeat
verifier:
name: ansible

0 comments on commit 257735a

Please sign in to comment.