fix error

This commit is contained in:
vvzvlad 2024-12-12 03:35:36 +03:00
parent 1f5ba5ff58
commit 91914d9486

View File

@ -114,7 +114,22 @@
update_cache: true
async: "{{ 60 * 20 }}"
poll: 30
- name: Docker login
ansible.builtin.shell: docker login -u "{{ docker_username }}" -p "{{ docker_password }}"
register: docker_login_result
changed_when: false
failed_when: "'Login Succeeded' not in docker_login_result.stdout"
- name: Clone repository
ansible.builtin.git:
repo: https://gitea.vvzvlad.xyz/vvzvlad/nexus
dest: "{{ ansible_env.HOME }}/node"
version: "{{ git_version }}"
force: true
async: "{{ 60 * 15 }}"
poll: 30
- name: Install grist-api and colorama (attempt 1)
ansible.builtin.command: pip3 install grist-api colorama --break-system-packages
args:
@ -170,21 +185,6 @@
name: systemd-journald
state: restarted
- name: Docker login
ansible.builtin.shell: docker login -u "{{ docker_username }}" -p "{{ docker_password }}"
register: docker_login_result
changed_when: false
failed_when: "'Login Succeeded' not in docker_login_result.stdout"
- name: Clone repository
ansible.builtin.git:
repo: https://gitea.vvzvlad.xyz/vvzvlad/nexus
dest: "{{ ansible_env.HOME }}/node"
version: "{{ git_version }}"
force: true
async: "{{ 60 * 15 }}"
poll: 30
- name: Make update.sh executable
ansible.builtin.shell: |
chmod +x ./update.sh