ansible cleanup
This commit is contained in:
parent
eecff4345a
commit
8ef380bc9b
15 changed files with 163 additions and 420 deletions
|
|
@ -88,24 +88,8 @@
|
|||
ansible.builtin.pause:
|
||||
prompt: "Press ENTER to continue or Ctrl+C to abort"
|
||||
|
||||
- name: Common setup verification
|
||||
hosts: asxpio:!old_servers
|
||||
become: true
|
||||
gather_facts: true
|
||||
vars:
|
||||
# Force WireGuard IPs for Stage 2 (SSH hardening requires it)
|
||||
ansible_host: "{{ wireguard_ip }}"
|
||||
|
||||
roles:
|
||||
- role: common
|
||||
|
||||
post_tasks:
|
||||
- name: Display setup status
|
||||
ansible.builtin.debug:
|
||||
msg: "Common setup verified on {{ inventory_hostname }}"
|
||||
|
||||
- name: Harden SSH configuration
|
||||
hosts: asxpio:!old_servers
|
||||
hosts: asxpio
|
||||
become: true
|
||||
gather_facts: true
|
||||
vars:
|
||||
|
|
@ -171,7 +155,7 @@
|
|||
msg: |
|
||||
Forgejo deployed successfully on {{ inventory_hostname }}
|
||||
Web UI: http://{{ asxpio_ops_wireguard_ip }}:{{ forgejo_http_port }}
|
||||
SSH: ssh://git@{{ asxpio_ops_wireguard_ip }}:{{ forgejo_ssh_port }}
|
||||
SSH: ssh://git@{{ asxpio_ops_wireguard_ip }}
|
||||
|
||||
⚠️ IMPORTANT: Before deploying the runner, you must:
|
||||
1. Access Forgejo web UI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue