Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

ansible / dma-playbook

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dma-playbook
  • deploy_inital_dmaengine_db.yml
  • ansible's avatar
    no message · 103af460
    ansible committed Nov 15, 2017
    103af460 Browse Files
deploy_inital_dmaengine_db.yml 325 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
---
- hosts: wdchat-dma
  become: true
  tasks:
    - name: Add new user in admin database
      mongodb_user:
      login_user: root
      login_password: password
      login_port: "7017"
      database: "admin"
      user: test
      password: password
      roles:
        - db: admin
        - role: userAdminAnyDatabase