Update playbooks/update-yum-dima.yaml
This commit is contained in:
parent
9e355f2253
commit
192fc1e16d
@ -15,19 +15,19 @@
|
|||||||
- mariadb
|
- mariadb
|
||||||
when: ansible_os_family == "RedHat"
|
when: ansible_os_family == "RedHat"
|
||||||
- name: Wait until HTTP status is 200 of ISPmanager
|
- name: Wait until HTTP status is 200 of ISPmanager
|
||||||
uri:
|
uri:
|
||||||
url: 'https://127.0.0.1:1500/ispmgr'
|
url: 'https://127.0.0.1:1500/ispmgr'
|
||||||
return_content: no
|
return_content: no
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
status_code:
|
status_code:
|
||||||
- 200
|
- 200
|
||||||
until: uri_output.status == 200
|
until: uri_output.status == 200
|
||||||
retries: 5 # Retries for 24 * 5 seconds = 120 seconds = 2 minutes
|
retries: 5 # Retries for 24 * 5 seconds = 120 seconds = 2 minutes
|
||||||
delay: 5 # Every 5 seconds
|
delay: 5 # Every 5 seconds
|
||||||
register: uri_output
|
register: uri_output
|
||||||
- name: Update custom script from git
|
- name: Update custom script from git
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: https://dimahu:Dima4026@git.sandros.hu/sandros/dimaserverconfigurer.git
|
repo: https://dimahu:Dima4026@git.sandros.hu/sandros/dimaserverconfigurer.git
|
||||||
dest: /root/dimaserverconfigurer
|
dest: /root/dimaserverconfigurer
|
||||||
single_branch: yes
|
single_branch: yes
|
||||||
version: master
|
version: master
|
Loading…
Reference in New Issue
Block a user