v7.3.2.0: Update nginx version in ansible-galaxy install command

The version of nginx being installed via the ansible-galaxy command in the installation.py file has been updated. The version number has been changed from 0.23.2 to 0.24.2, adhering to up-to-date libraries and compatibility improvements that the new version provides.
pull/390/head
Aidaho 5 months ago
parent 61dc21c822
commit 60bc04d5af

@ -176,7 +176,7 @@ def generate_service_inv(json_data: json, installed_service: str) -> object:
is_docker = json_data['services'][installed_service]['docker'] is_docker = json_data['services'][installed_service]['docker']
if installed_service == 'nginx' and not os.path.isdir('/var/www/haproxy-wi/app/scripts/ansible/roles/nginxinc.nginx'): if installed_service == 'nginx' and not os.path.isdir('/var/www/haproxy-wi/app/scripts/ansible/roles/nginxinc.nginx'):
os.system('ansible-galaxy install nginxinc.nginx,0.23.2 --roles-path /var/www/haproxy-wi/app/scripts/ansible/roles/') os.system('ansible-galaxy install nginxinc.nginx,0.24.2 --roles-path /var/www/haproxy-wi/app/scripts/ansible/roles/')
for k, v in json_data['servers'].items(): for k, v in json_data['servers'].items():
server_ip = v['ip'] server_ip = v['ip']

Loading…
Cancel
Save