feat: nginx proxy manager
This commit is contained in:
@@ -37,3 +37,23 @@
|
||||
content: "{{ terraform_apply.outputs }}"
|
||||
dest: ../dist/terraform_outputs.yml
|
||||
mode: '0755'
|
||||
|
||||
|
||||
- name: Update SSH config.
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
tags: hosts
|
||||
vars_files:
|
||||
- ../vault.yml
|
||||
- ../dist/terraform_outputs.yml
|
||||
- ../variables.yml
|
||||
tasks:
|
||||
- name: Add proxy host.
|
||||
community.general.ssh_config:
|
||||
host: "{{ variables.proxy_host }}"
|
||||
hostname: "{{ proxy_ip.value }}"
|
||||
remote_user: root
|
||||
forward_agent: true
|
||||
user: user
|
||||
port: 22
|
||||
identity_file: "{{ secret.private_ssh_key_path }}"
|
||||
|
||||
Reference in New Issue
Block a user