Просмотр исходного кода

Clarified parameters are bit in a comment

Justin Plock 11 лет назад
Родитель
Сommit
c037dce07a
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      roles/common/tasks/google_auth.yml

+ 2
- 2
roles/common/tasks/google_auth.yml Просмотреть файл

@@ -34,8 +34,8 @@
34 34
               insertbefore=BOF
35 35
               state=present
36 36
 
37
-- name: Generate QNR code for default user
38
-  command: /usr/local/bin/google-authenticator -t -f -d --label="{{ main_user_name }}@{{ domain }}" --qr-mode=ANSI -r 3 -R 30 -W --secret=/home/{{ main_user_name }}/.google_authenticator
37
+- name: Generate a timed-based, no reuse, rate-limited (3 logins per 30 seconds) with no concurrently valid codes for default user
38
+  command: /usr/local/bin/google-authenticator -t -f -d --label="{{ main_user_name }}@{{ domain }}" --qr-mode=NONE -r 3 -R 30 -W --secret=/home/{{ main_user_name }}/.google_authenticator
39 39
            creates=/home/{{ main_user_name }}/.google_authenticator
40 40
 
41 41
 - name: Fix permissions on generated file

Загрузка…
Отмена
Сохранить