feat: ansible proxy jump
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user