Skip to content

Commit 2f84923

Browse files
Copilotmpgn
andcommitted
Revert changes to barbhack.yml (not used in main.yml)
Co-authored-by: mpgn <5891788+mpgn@users.noreply.github.com>
1 parent d6463ef commit 2f84923

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

BARBHACK-2024/ansible/barbhack.yml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,16 @@
55
data_path: "../ad/{{ domain_name }}/data/"
66
tags: 'data'
77

8+
---
9+
# Load datas
10+
- import_playbook: data.yml
11+
vars:
12+
data_path: "../ad/{{domain_name}}/data/"
13+
tags: 'data'
14+
815
- name: WinScp for Robin
916
hosts: srv02
1017
tasks:
11-
- name: Import WinSCP registry on SRV02
18+
- name: Winscp on SRV2
1219
ansible.windows.win_shell: |
13-
reg import C:\winscp.reg
14-
15-
- name: Create WinSCP shortcut on harley.quinn's desktop
16-
ansible.windows.win_powershell:
17-
script: |
18-
$WshShell = New-Object -comObject WScript.Shell
19-
$Shortcut = $WshShell.CreateShortcut("C:\Users\harley.quinn\Desktop\WinSCP.lnk")
20-
$Shortcut.TargetPath = "C:\Program Files (x86)\WinSCP\WinSCP.exe"
21-
$Shortcut.Description = "WinSCP - SFTP and FTP Client"
22-
$Shortcut.IconLocation = "C:\Program Files (x86)\WinSCP\WinSCP.exe,0"
23-
$Shortcut.Save()
24-
25-
- name: Remove winscp.reg file after import
26-
ansible.windows.win_file:
27-
path: C:\winscp.reg
28-
state: absent
20+
reg import C:\winscp.reg

0 commit comments

Comments
 (0)