lefos 3 years ago
parent
commit
67ccc76500
  1. 2
      mongo.yml

2
mongo.yml

@ -1,6 +1,7 @@
--- ---
- hosts: service - hosts: service
remote_user: docker remote_user: docker
become: yes
gather_facts: no gather_facts: no
vars: vars:
user: "docker" user: "docker"
@ -45,6 +46,7 @@
apt: apt:
name: gnupg name: gnupg
- name: Import the public key used by the package management system - name: Import the public key used by the package management system
become: true
apt_key: apt_key:
url: https://www.mongodb.org/static/pgp/server-4.4.asc url: https://www.mongodb.org/static/pgp/server-4.4.asc
state: present state: present

Loading…
Cancel
Save