update ansible.cfg , add new local image ansible-utilities for gitlab-ci
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
default:
|
default:
|
||||||
image: alpine/ansible:2.21.0
|
image: registry.gitlab/next-gen-portal/infra-custom-images/ansible-utilities:latest
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
stages:
|
stages:
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
inventory = inventories/prod/hosts.ini
|
inventory = ./inventories/prod/hosts.ini
|
||||||
|
|
||||||
remote_user = root
|
remote_user = root
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ timeout = 30
|
|||||||
|
|
||||||
interpreter_python = auto_silent
|
interpreter_python = auto_silent
|
||||||
|
|
||||||
roles_path = roles
|
roles_path = ./roles
|
||||||
|
|
||||||
[ssh_connection]
|
[ssh_connection]
|
||||||
pipelining = True
|
pipelining = True
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
notify: reload sysctl
|
notify: Reload sysctl
|
||||||
|
|
||||||
- name: Apply sysctl immediately
|
- name: Apply sysctl immediately
|
||||||
ansible.builtin.command: sysctl --system
|
ansible.builtin.command: sysctl --system
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
notify: restart openvpn
|
notify: Restart openvpn
|
||||||
|
|
||||||
- name: Deploy Radius configuration
|
- name: Deploy Radius configuration
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
notify: restart openvpn
|
notify: Restart openvpn
|
||||||
|
|
||||||
- name: Deploy client-connect script
|
- name: Deploy client-connect script
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|||||||
Reference in New Issue
Block a user