Initial commit
This commit is contained in:
4
roles/install_mongo/handlers/main.yml
Normal file
4
roles/install_mongo/handlers/main.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
- name: Upgrade packages
|
||||
community.general.pacman:
|
||||
upgrade: true
|
||||
13
roles/install_mongo/tasks/main.yml
Normal file
13
roles/install_mongo/tasks/main.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
- name: Update packages
|
||||
community.general.pacman:
|
||||
update_cache: true
|
||||
- name: Install packages
|
||||
community.general.pacman:
|
||||
pkg:
|
||||
- mongodb-bin
|
||||
- mongosh-bin
|
||||
- python-pymongo
|
||||
notify: Upgrade packages
|
||||
- name: Flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
Reference in New Issue
Block a user