-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ansible devel 2.5.0 is required for win_copy to work
- Loading branch information
Andrieu, Alban
committed
Oct 9, 2017
1 parent
544f1e2
commit f38cc98
Showing
8 changed files
with
190 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,42 @@ | ||
; needed to bypass self-signed certificates on windows | ||
[galaxy] | ||
ignore_certs=True | ||
|
||
[defaults] | ||
#ansible_python_interpreter="/usr/local/bin/python,/usr/bin/python" | ||
#roles_path=../roles | ||
#host_key_checking=False | ||
#gathering=explicit | ||
validate_certs=False | ||
#vault_password_file=vault.passwd | ||
bin_ansible_callbacks=True | ||
callback_plugins = ./callback_plugins | ||
library = ./library | ||
#callback_whitelist = profile_tasks | ||
#callback_plugins=./callback_plugins | ||
#callback_plugins = ~/ansible/callback_plugins | ||
#library=./library | ||
#library="/usr/local/lib/python2.7/dist-packages/ansible" | ||
#For MacOSX increase timeout | ||
timeout=30 | ||
#inventory = ./hosts-albandri | ||
#roles_path = ./roles | ||
allow_world_readable_tmpfiles=True | ||
|
||
#Workaround for ansible solaris bug https://github.com/ansible/ansible/issues/21339 | ||
#remote_tmp=$HOME/.ansible/tmp | ||
#local_tmp=$HOME/.ansible/tmp | ||
#transport=smart | ||
display_skipped_hosts=False | ||
#host_key_checking=False | ||
|
||
#[privilege_escalation] | ||
#become=True | ||
#For MacOSX switch sudo to su become_method | ||
#become_method=su | ||
#For Jenkins switch sudo to su become_method | ||
become_method=sudo | ||
|
||
[ssh_connection] | ||
#pipelining=True | ||
pipelining=False | ||
#ssh_args=-o ControlMaster=no | ||
#ssh_args=-o ControlMaster=auto -o ControlPersist=1800s -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null | ||
#control_path=%(directory)s/%%h-%%r |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<AdminDeploymentCustomizations xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment"> | ||
<BundleCustomizations TargetDir="default" NoWeb="default"/> | ||
|
||
<SelectableItemCustomizations> | ||
<SelectableItemCustomization Id="WebTools" Hidden="no" Selected="no"/> | ||
<SelectableItemCustomization Id="OfficeTools" Hidden="no" Selected="no"/> | ||
<SelectableItemCustomization Id="SharepointTools" Hidden="no" Selected="no"/> | ||
<SelectableItemCustomization Id="LightSwitch" Hidden="no" Selected="no"/> | ||
<SelectableItemCustomization Id="SilverLight_Developer_Kit" Hidden="no" Selected="no" /> | ||
<SelectableItemCustomization Id="SQL" Hidden="no" Selected="no" /> | ||
<SelectableItemCustomization Id="VC_MFC_Libraries" Hidden="no" Selected="no" /> | ||
<SelectableItemCustomization Id="Blend" Hidden="no" Selected="no" /> | ||
|
||
<SelectableItemCustomization Id="BlissHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="HelpHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="LocalDBHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="NetFX4Hidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="NetFX45Hidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="PortableDTPHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="PreEmptiveDotfuscatorHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="PreEmptiveAnalyticsHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="ProfilerHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="ReportingHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="RIAHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="SDKTools3Hidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="SDKTools4Hidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="Silverlight5DRTHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="SQLCEHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="SQLCEToolsHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="SQLCLRTypesHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="SQLDACHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="SQLDbProviderHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="SQLDOMHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="SQLSharedManagementObjectsHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="TSQLHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="VCCompilerHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="VCCoreHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="VCDebugHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="VCDesigntimeHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="VCExtendedHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="WCFDataServicesHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="WinJSHidden" Selected="yes" /> | ||
<SelectableItemCustomization Id="WinSDKHidden" Selected="yes" /> | ||
</SelectableItemCustomizations> | ||
</AdminDeploymentCustomizations> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
- name: "visual studio 2008 : download iso" | ||
win_get_url: | ||
url: "{{ visualstudio.url_prefix }}/{{ visualstudio.2008.iso }}" | ||
dest: "{{ ansible_user_dir }}\\{{ visualstudio.2008.iso }}" | ||
force: no | ||
|
||
- name: "visual studio 2008 : extract files from iso" | ||
win_command: 7z x -aos -o"{{ visualstudio.2008.installer.path }}" "{{ ansible_user_dir }}\\{{ visualstudio.2008.iso }}" | ||
|
||
- name: "visual studio 2008 : copy unattended installation script" | ||
win_copy: | ||
src: "{{ visualstudio.2008.installer.ini }}" | ||
dest: "{{ ansible_user_dir }}\\{{ visualstudio.2008.installer.ini }}" | ||
|
||
- name: "visual studio 2008 : unattended installation" | ||
win_command: "{{ visualstudio.2008.installer.path }}\\setup\\setup.exe /q /norestart" | ||
# win_command: "{{ visualstudio.2008.installer.path }}\\setup\\setup.exe /unattendfile {{ ansible_user_dir }}\\{{ visualstudio.2008.installer.ini }}" | ||
|
||
- name: "visual studio 2008 : clean installation files" | ||
win_file: | ||
path: "{{ item }}" | ||
state: absent | ||
with_items: | ||
- "{{ ansible_user_dir }}\\{{ visualstudio.2008.iso }}" | ||
- "{{ ansible_user_dir }}\\{{ visualstudio.2008.installer.ini }}" | ||
- "{{ visualstudio.2008.installer.path }}" | ||
tags: | ||
- cleanup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
- name: "visual studio 2012 : download iso" | ||
win_get_url: | ||
url: "{{ visualstudio.url_prefix }}/{{ visualstudio.2012.iso }}" | ||
dest: "{{ ansible_user_dir }}\\{{ visualstudio.2012.iso }}" | ||
force: no | ||
|
||
- name: "visual studio 2012 : extract files from iso" | ||
win_command: 7z x -aos -o"{{ visualstudio.2012.installer.path }}" "{{ ansible_user_dir }}\\{{ visualstudio.2012.iso }}" | ||
|
||
- name: "visual studio 2012 : copy unattended installation script" | ||
win_copy: | ||
src: "{{ visualstudio.2012.installer.ini }}" | ||
dest: "{{ ansible_user_dir }}\\{{ visualstudio.2012.installer.ini }}" | ||
|
||
- name: "visual studio 2012 : unattended installation" | ||
win_command: "{{ visualstudio.2012.installer.path }}\\vs_professional.exe /AdminFile {{ ansible_user_dir }}\\{{ visualstudio.2012.installer.ini }} /passive /norestart" | ||
|
||
- name: "visual studio 2012 : clean installation files" | ||
win_file: | ||
path: "{{ item }}" | ||
state: absent | ||
with_items: | ||
- "{{ ansible_user_dir }}\\{{ visualstudio.2012.iso }}" | ||
- "{{ ansible_user_dir }}\\{{ visualstudio.2012.installer.ini }}" | ||
- "{{ ansible_user_dir }}\\{{ visualstudio.2012.installer.path }}" | ||
tags: | ||
- cleanup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters