Skip to content

Commit

Permalink
Remove legacy plugin role (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak authored Jan 24, 2024
1 parent 39d7701 commit e93d65c
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 39 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.2.7
version: 0.2.8
readme: README.md
authors:
- Ted Cook <[email protected]>
Expand Down
4 changes: 0 additions & 4 deletions playbooks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
hosts: "{{ __mongodb_config }}"
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Gather service facts
ansible.builtin.service_facts:
Expand Down Expand Up @@ -37,7 +35,6 @@
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
- nephelaiio.mongodb.repo
- nephelaiio.mongodb.mongodb

Expand All @@ -49,6 +46,5 @@
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
- nephelaiio.mongodb.repo
- nephelaiio.mongodb.mongodb
5 changes: 0 additions & 5 deletions playbooks/mongos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
become: true
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins


- name: Deploy MongoDB Mongos servers
Expand All @@ -22,7 +20,6 @@
_config_addrs: "{{ _config_hosts | map('extract', hostvars, __mongodb_address_attrs) | list }}"
mongos_replicaset_config_members: "{{ _config_hosts if _mongodb_hosts_manage else _config_addrs }}"
roles:
- nephelaiio.mongodb.plugins
- nephelaiio.mongodb.repo
- nephelaiio.mongodb.mongos

Expand All @@ -32,8 +29,6 @@
become: true
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Register cluster shards
when: mongodb_shard_clusters is defined
Expand Down
2 changes: 0 additions & 2 deletions playbooks/offline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
become: true
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Include Mongos service tasks
ansible.builtin.include_role:
Expand Down
2 changes: 0 additions & 2 deletions playbooks/online.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
become: true
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Include Mongos service tasks
ansible.builtin.include_role:
Expand Down
1 change: 0 additions & 1 deletion playbooks/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
- nephelaiio.mongodb.pip
tasks:
- name: Add host entries for cluster members
Expand Down
6 changes: 0 additions & 6 deletions playbooks/restart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
become: true
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Include Mongos service tasks
ansible.builtin.include_role:
Expand All @@ -29,8 +27,6 @@
become: true
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Include Mongos service tasks
ansible.builtin.include_role:
Expand All @@ -53,8 +49,6 @@
serial: 1
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Include Mongos service tasks
ansible.builtin.include_role:
Expand Down
4 changes: 0 additions & 4 deletions playbooks/shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
hosts: "{{ mongodb_shard | default('mongodb_shard') }}"
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Gather service facts
ansible.builtin.service_facts:
Expand Down Expand Up @@ -37,7 +35,6 @@
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
- nephelaiio.mongodb.repo
- nephelaiio.mongodb.mongodb

Expand All @@ -49,6 +46,5 @@
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
- nephelaiio.mongodb.repo
- nephelaiio.mongodb.mongodb
4 changes: 0 additions & 4 deletions playbooks/start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
become: true
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Include Mongos service tasks
ansible.builtin.include_role:
Expand All @@ -20,8 +18,6 @@
become: true
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Include Mongos service tasks
ansible.builtin.include_role:
Expand Down
4 changes: 0 additions & 4 deletions playbooks/stop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
become: true
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Include Mongos service tasks
ansible.builtin.include_role:
Expand All @@ -22,8 +20,6 @@
become: true
vars_files:
- main.yml
roles:
- nephelaiio.mongodb.plugins
tasks:
- name: Include Mongos service tasks
ansible.builtin.include_role:
Expand Down
3 changes: 0 additions & 3 deletions playbooks/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
update_reboot: false
update_cache_valid_time: 1
roles:
- nephelaiio.mongodb.plugins
- nephelaiio.mongodb.update
tasks:
- name: Include Mongos service tasks
Expand Down Expand Up @@ -38,7 +37,6 @@
update_reboot: false
update_cache_valid_time: 1
roles:
- nephelaiio.mongodb.plugins
- nephelaiio.mongodb.update
tasks:
- name: Include Mongos service tasks
Expand Down Expand Up @@ -67,7 +65,6 @@
update_reboot: false
update_cache_valid_time: 1
roles:
- nephelaiio.mongodb.plugins
- nephelaiio.mongodb.update
tasks:
- name: Include Mongos service tasks
Expand Down
3 changes: 0 additions & 3 deletions roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,3 @@ roles:
- name: update
src: https://github.com/robertdebock/ansible-role-update.git
version: 3.1.7
- name: plugins
src: https://github.com/nephelaiio/ansible-role-plugins.git
version: 2.0.8

0 comments on commit e93d65c

Please sign in to comment.