Skip to content

Commit

Permalink
Add test online playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak committed Nov 8, 2023
1 parent 8cc96b8 commit 98aa4c6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: nephelaiio
name: mongodb
version: 0.0.8
version: 0.0.9
readme: README.md
authors:
- Ted Cook <[email protected]>
Expand Down
3 changes: 3 additions & 0 deletions molecule/common/online.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
- name: Import online playbook
import_playbook: nephelaiio.mongodb.online
2 changes: 1 addition & 1 deletion molecule/online/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ provisioner:
name: ansible
playbooks:
converge: ../common/offline.yml
side-effect: ../common/online.yml
side_effect: ../common/online.yml
verify: ../common/verify.yml
config_options:
defaults:
Expand Down
3 changes: 1 addition & 2 deletions playbooks/online.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
- name: Start mongos services
hosts: "{{ mongodb_mongos | default('mongodb_mongos') }}"
become: true
tasks:
- name: Include mongos service tasks
ansible.builtin.include_role:
name: nephelaiio.mongodb.mongos
tasks_from: service
vars:
mongos_service_state: started
apply:
become: true

0 comments on commit 98aa4c6

Please sign in to comment.