|
@@ -39,10 +39,13 @@
|
39
|
39
|
creates=/home/{{ main_user_name }}/.google_authenticator
|
40
|
40
|
sudo: yes
|
41
|
41
|
sudo_user: "{{ main_user_name }}"
|
|
42
|
+ when: ansible_ssh_user != "vagrant"
|
42
|
43
|
|
43
|
44
|
- name: Retrieve generated keys from server
|
44
|
45
|
fetch: src=/home/{{ main_user_name }}/.google_authenticator
|
45
|
46
|
dest=/tmp/sovereign-google-auth-files
|
|
47
|
+ when: ansible_ssh_user != "vagrant"
|
46
|
48
|
|
47
|
49
|
- pause: seconds=5
|
48
|
50
|
prompt="Your Google Authentication keys are in /tmp/sovereign-google-auth-files. Press any key to continue..."
|
|
51
|
+ when: ansible_ssh_user != "vagrant"
|