Skip to content

Commit be0c2fd

Browse files
author
nadeemshahzad
committed
fix: mongo
1 parent 5435f0c commit be0c2fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playbooks/roles/mongo_7_0/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
apt_repository:
5959
repo: "{{ MONGODB_REPO }}"
6060
state: present
61-
ansible_distribution_release != "noble"
61+
when: ansible_distribution_release != "noble"
6262
tags:
6363
- "install"
6464
- "install:app-requirements"
@@ -68,7 +68,7 @@
6868
apt_repository:
6969
repo: "{{ MONGODB_REPO_NOBLE }}"
7070
state: present
71-
ansible_distribution_release == "noble"
71+
when: ansible_distribution_release == "noble"
7272
tags:
7373
- "install"
7474
- "install:app-requirements"

0 commit comments

Comments
 (0)