feat: ansible proxy jump

This commit is contained in:
2025-10-07 22:39:58 -04:00
parent 767fd3b503
commit 7f36507dce
7 changed files with 140 additions and 86 deletions

View File

@@ -8,10 +8,7 @@
- name: Add remote host.
ansible.builtin.add_host:
name: server
ansible_ssh_host: "{{ server_ip.value }}"
ansible_user: root
ansible_port: 2222
ansible_private_key_file: "{{ secret.private_ssh_key_path }}"
ansible_ssh_host: repository_gitea
- name: Deploy artifact to instance.
hosts: server