This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# playbook with tasks to create mongodb on digital ocean | |
- name: deploy mongo on digital ocrean | |
hosts: localhost | |
connection: local | |
gather_facts: false | |
tasks: | |
- name: d_ocean | create mongodb database | |
ansible.builtin.command: doctl databases create db-demo --region sfo3 --engine mongodb --version 5 --output json | |
async: 1800 | |
poll: 60 |
OlderNewer