fix error
This commit is contained in:
parent
1f5ba5ff58
commit
91914d9486
32
playbook.yml
32
playbook.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user