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