Removed from the Gitian role (Ansible) the tasks related to reboot

This commit is contained in:
Yasser Isa Manzur 2022-10-17 17:53:36 -03:00 committed by Yasser Isa
parent 0729ea26ab
commit b30222d5e2
1 changed files with 0 additions and 24 deletions

View File

@ -127,30 +127,6 @@
force: yes
become_user: "{{ gitian_user }}"
- name: Reboot.
shell: sleep 3 && shutdown -r now "Rebooting..."
async: 1
poll: 0
ignore_errors: true
become: yes
- name: Figure out the Vagrant VM's SSH port number.
local_action: "shell vagrant ssh-config zcash-build | grep Port | awk {'print $2'}"
register: vagrant_ssh_port
become: no
- name: Wait for virtual machine to come back.
local_action: wait_for
host={{ ansible_host | default('localhost') }}
port={{ vagrant_ssh_port.stdout | int }}
delay=30
state=started
become: no
- name: Wait extra time for VM to come back up.
pause:
seconds: 10
- name: Set Git username.
command: "git config --global user.name \"{{ git_name }}\""
become_user: "{{ gitian_user }}"