Skip to content

Commit

Permalink
removed some example specific tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Aug 5, 2016
1 parent 10eadaa commit 6a80497
Showing 1 changed file with 9 additions and 29 deletions.
38 changes: 9 additions & 29 deletions winworker/create/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
---
- include: store_passwd.yml

- name: Capture Version
script: 'win32_os_caption.ps1'
changed_when: false
register: buildbot_win32_os_caption_result

- name: Store facts
set_fact:
buildbot_win32_os_caption: "{{ buildbot_win32_os_caption_result.stdout | replace('Microsoft ', '') }}"
tags: [always]

- name: Kill CPU Burner
script: 'stop_update.ps1'
register: buildbot_winworker_kill_result
Expand All @@ -22,25 +10,17 @@
tags:
- winkill

- name: Fetch Path
raw: "Write-Host $env:Path"
register: buidbot_winworker_path
changed_when: no

- debug:
msg: "{{ buidbot_winworker_path.stdout_lines[0] | regex_replace(';[^;]*\\\\OpenSSH\\\\[^;]*;', ';') }}"
- include: store_passwd.yml

- name: Exclude OpenSSH from Path
win_environment:
name: "Path"
level: "machine"
value: "{{ buidbot_winworker_path.stdout_lines[0] | regex_replace(';[^;]*\\\\OpenSSH\\\\[^;]*;', ';') }}"
- name: Capture Version
script: 'win32_os_caption.ps1'
changed_when: false
register: buildbot_win32_os_caption_result

- name: Unset CYGWIN
win_environment:
name: "CYGWIN"
level: "machine"
state: absent
- name: Store facts
set_fact:
buildbot_win32_os_caption: "{{ buildbot_win32_os_caption_result.stdout | replace('Microsoft ', '') }}"
tags: [always]

- name: Packages
win_chocolatey:
Expand Down

0 comments on commit 6a80497

Please sign in to comment.