From e93d65c3551909a7d0904f201de88a814a4c539b Mon Sep 17 00:00:00 2001 From: Teodoro Cook Date: Wed, 24 Jan 2024 11:12:52 -0600 Subject: [PATCH] Remove legacy plugin role (#38) --- galaxy.yml | 2 +- playbooks/config.yml | 4 ---- playbooks/mongos.yml | 5 ----- playbooks/offline.yml | 2 -- playbooks/online.yml | 2 -- playbooks/prepare.yml | 1 - playbooks/restart.yml | 6 ------ playbooks/shard.yml | 4 ---- playbooks/start.yml | 4 ---- playbooks/stop.yml | 4 ---- playbooks/update.yml | 3 --- roles.yml | 3 --- 12 files changed, 1 insertion(+), 39 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index f83efa4..c6e1ef8 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: nephelaiio name: mongodb -version: 0.2.7 +version: 0.2.8 readme: README.md authors: - Ted Cook diff --git a/playbooks/config.yml b/playbooks/config.yml index 80a614e..7b405cf 100644 --- a/playbooks/config.yml +++ b/playbooks/config.yml @@ -3,8 +3,6 @@ hosts: "{{ __mongodb_config }}" vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins tasks: - name: Gather service facts ansible.builtin.service_facts: @@ -37,7 +35,6 @@ vars_files: - main.yml roles: - - nephelaiio.mongodb.plugins - nephelaiio.mongodb.repo - nephelaiio.mongodb.mongodb @@ -49,6 +46,5 @@ vars_files: - main.yml roles: - - nephelaiio.mongodb.plugins - nephelaiio.mongodb.repo - nephelaiio.mongodb.mongodb diff --git a/playbooks/mongos.yml b/playbooks/mongos.yml index ae7b218..3cd378f 100644 --- a/playbooks/mongos.yml +++ b/playbooks/mongos.yml @@ -7,8 +7,6 @@ become: true vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins - name: Deploy MongoDB Mongos servers @@ -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 @@ -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 diff --git a/playbooks/offline.yml b/playbooks/offline.yml index 69d7396..013f0d5 100644 --- a/playbooks/offline.yml +++ b/playbooks/offline.yml @@ -4,8 +4,6 @@ become: true vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins tasks: - name: Include Mongos service tasks ansible.builtin.include_role: diff --git a/playbooks/online.yml b/playbooks/online.yml index cb5cffd..98b477e 100644 --- a/playbooks/online.yml +++ b/playbooks/online.yml @@ -4,8 +4,6 @@ become: true vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins tasks: - name: Include Mongos service tasks ansible.builtin.include_role: diff --git a/playbooks/prepare.yml b/playbooks/prepare.yml index 0f021f6..64e465d 100644 --- a/playbooks/prepare.yml +++ b/playbooks/prepare.yml @@ -8,7 +8,6 @@ vars_files: - main.yml roles: - - nephelaiio.mongodb.plugins - nephelaiio.mongodb.pip tasks: - name: Add host entries for cluster members diff --git a/playbooks/restart.yml b/playbooks/restart.yml index bc03c5a..a1b3237 100644 --- a/playbooks/restart.yml +++ b/playbooks/restart.yml @@ -5,8 +5,6 @@ become: true vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins tasks: - name: Include Mongos service tasks ansible.builtin.include_role: @@ -29,8 +27,6 @@ become: true vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins tasks: - name: Include Mongos service tasks ansible.builtin.include_role: @@ -53,8 +49,6 @@ serial: 1 vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins tasks: - name: Include Mongos service tasks ansible.builtin.include_role: diff --git a/playbooks/shard.yml b/playbooks/shard.yml index 7c5fe17..6b84402 100644 --- a/playbooks/shard.yml +++ b/playbooks/shard.yml @@ -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: @@ -37,7 +35,6 @@ vars_files: - main.yml roles: - - nephelaiio.mongodb.plugins - nephelaiio.mongodb.repo - nephelaiio.mongodb.mongodb @@ -49,6 +46,5 @@ vars_files: - main.yml roles: - - nephelaiio.mongodb.plugins - nephelaiio.mongodb.repo - nephelaiio.mongodb.mongodb diff --git a/playbooks/start.yml b/playbooks/start.yml index d2d4f8f..dab272b 100644 --- a/playbooks/start.yml +++ b/playbooks/start.yml @@ -6,8 +6,6 @@ become: true vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins tasks: - name: Include Mongos service tasks ansible.builtin.include_role: @@ -20,8 +18,6 @@ become: true vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins tasks: - name: Include Mongos service tasks ansible.builtin.include_role: diff --git a/playbooks/stop.yml b/playbooks/stop.yml index 3bd239e..497a913 100644 --- a/playbooks/stop.yml +++ b/playbooks/stop.yml @@ -4,8 +4,6 @@ become: true vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins tasks: - name: Include Mongos service tasks ansible.builtin.include_role: @@ -22,8 +20,6 @@ become: true vars_files: - main.yml - roles: - - nephelaiio.mongodb.plugins tasks: - name: Include Mongos service tasks ansible.builtin.include_role: diff --git a/playbooks/update.yml b/playbooks/update.yml index 88082fa..a0ecda4 100644 --- a/playbooks/update.yml +++ b/playbooks/update.yml @@ -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 @@ -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 @@ -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 diff --git a/roles.yml b/roles.yml index 7819eb7..e4581a8 100644 --- a/roles.yml +++ b/roles.yml @@ -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