test jenkinsfile update for windows 1

This commit is contained in:
2025-10-25 23:25:00 -07:00
parent 2282c44af6
commit 7f5c265d82
5 changed files with 200 additions and 26 deletions

View File

@ -0,0 +1,15 @@
---
tasks:
- name: Show some information
become: true
ansible.windows.win_command: |
hostname
whoami
gpresult /v | find "DC=cosmos"
...

View File

@ -0,0 +1,19 @@
---
- name: show user vars
debug:
msg:
- "User email:"
- "{{ jenkins_user}}"
- "Jenkins Group:"
- "{{ jenkins_group}}"
- "SERVER_SUBNET_GROUP:"
- "{{ SERVER_SUBNET_GROUP }}"
- "subnet_group_check:"
- "{{ subnet_group_check }}"
- "Host IP:"
- "{{ ansible_ssh_host }}"
...