Skip to content

Commit 5ad95dc

Browse files
Update ansible_totum_install.yml
1 parent d5460cb commit 5ad95dc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

totum/moduls/install/ansible_totum_install.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,14 @@
667667
mode: '0440'
668668
when: lookup('env', 'TOTUMVERSION') == 'pro'
669669

670+
- name: Add sudoers entry for totum-gom status
671+
lineinfile:
672+
path: /etc/sudoers.d/restart-totum-gom
673+
line: 'totum ALL=(ALL) NOPASSWD: /usr/sbin/service totum-gom status'
674+
create: yes
675+
mode: '0440'
676+
when: lookup('env', 'TOTUMVERSION') == 'pro'
677+
670678
# Add Crons
671679

672680
- name: Generate a random minute for cron job
@@ -823,7 +831,7 @@
823831
job: "cd ~ && exec meilisearch --no-analytics --db-path ./meilifiles --env production --master-key $(cat meili_masterkey) > /dev/null 2>&1 &"
824832
when: lookup('env', 'TOTUMVERSION') == 'pro'
825833

826-
# Chane IP to DOMAIN
834+
# Change IP to DOMAIN
827835

828836
- name: Check IPDOMAIN environment variable
829837
set_fact:

0 commit comments

Comments
 (0)