Compare commits

..

1 Commits

Author SHA1 Message Date
7f72c71f10 Feat(judgehost): test judgehost 2025-04-06 21:03:46 +08:00
2 changed files with 8 additions and 0 deletions

6
playbooks/judgehost.yml Normal file
View File

@@ -0,0 +1,6 @@
---
- name: Install judgehost
hosts: judgehost
roles:
- role: install_packages
- role: configure_judgehost

View File

@@ -23,6 +23,8 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
domserver_url: "{{ domserver_url }}" domserver_url: "{{ domserver_url }}"
judgehost_password: "{{ fetch_reg['stdout'] }}" judgehost_password: "{{ fetch_reg['stdout'] }}"
delegate_to: domserver[0]
run_once: true
- name: Show judgehost password - name: Show judgehost password
ansible.builtin.debug: ansible.builtin.debug:
var: judgehost_password var: judgehost_password