From 27dc2da53bfe5e375e0489e68545b76dd7ad7ccd Mon Sep 17 00:00:00 2001 From: "noussair.hamrit" Date: Tue, 16 Jun 2026 14:43:30 +0200 Subject: [PATCH] update ansible.cfg , add new local image ansible-utilities for gitlab-ci --- .gitlab-ci.yml | 2 +- ansible.cfg | 4 ++-- roles/networking/tasks/main.yml | 2 +- roles/openvpn/tasks/config.yml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69ab028..989f335 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ default: - image: alpine/ansible:2.21.0 + image: registry.gitlab/next-gen-portal/infra-custom-images/ansible-utilities:latest tags: - docker stages: diff --git a/ansible.cfg b/ansible.cfg index 04991b7..fe1c123 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -inventory = inventories/prod/hosts.ini +inventory = ./inventories/prod/hosts.ini remote_user = root @@ -11,7 +11,7 @@ timeout = 30 interpreter_python = auto_silent -roles_path = roles +roles_path = ./roles [ssh_connection] pipelining = True diff --git a/roles/networking/tasks/main.yml b/roles/networking/tasks/main.yml index e09b598..2eb9976 100644 --- a/roles/networking/tasks/main.yml +++ b/roles/networking/tasks/main.yml @@ -7,7 +7,7 @@ owner: root group: root mode: "0644" - notify: reload sysctl + notify: Reload sysctl - name: Apply sysctl immediately ansible.builtin.command: sysctl --system diff --git a/roles/openvpn/tasks/config.yml b/roles/openvpn/tasks/config.yml index 7397aa3..ee83538 100644 --- a/roles/openvpn/tasks/config.yml +++ b/roles/openvpn/tasks/config.yml @@ -6,7 +6,7 @@ owner: root group: root mode: "0644" - notify: restart openvpn + notify: Restart openvpn - name: Deploy Radius configuration ansible.builtin.template: @@ -15,7 +15,7 @@ owner: root group: root mode: "0600" - notify: restart openvpn + notify: Restart openvpn - name: Deploy client-connect script ansible.builtin.copy: