Windows-Ansible:使用Ansible作为Vagrant文​​件中的预配器并使用ServerSpec进行测试的示例

时间:2024-02-27 02:09:56
【文件属性】:

文件名称:Windows-Ansible:使用Ansible作为Vagrant文​​件中的预配器并使用ServerSpec进行测试的示例

文件大小:42KB

文件格式:ZIP

更新时间:2024-02-27 02:09:56

windows ansible vagrant VagrantPowerShell

Windows Server 2016上的Ansible示例 该存储库演示: 使用Packer构建具有特定配置的机器 使用Vagrant进一步配置机器 使用ServerSpec对计算机运行测试以确保所需的状态配置到位 关于ServerSpec 使用Serverspec,您可以编写RSpec测试来检查服务器的配置是否正确。 Serverspec通过本地执行命令,SSH,WinRM,Docker API等来测试服务器的实际状态。 因此,您不需要在服务器上安装任何代理软件,并且可以使用任何配置管理工具,如Puppet,Ansible,CFEngine,Itamae等。 但是Serverspe


【文件预览】:
Windows-Ansible-master
----windows()
--------run-powershell.yml(206B)
--------ansible.cfg(144B)
--------deploy-site.retry(26B)
--------enable-iis.retry(13B)
--------enable-iis.yml(313B)
--------get-features-not-installed.yml(336B)
--------group_vars()
--------run-powershell.retry(26B)
--------get-features-not-installed.retry(26B)
--------create-user.yml(177B)
--------files()
----Vagrantfile(2KB)
----test.ini(301B)
----scripts()
--------wait-for-desktop-file.ps1(313B)
--------fixnetwork.ps1(1KB)
--------enable-winrm.bat(138B)
--------unattend.xml(2KB)
--------dis-updates.ps1(1002B)
--------docker()
--------create-domain.ps1(1KB)
--------microsoft-updates.bat(556B)
--------installnet4.bat(317B)
--------disable-auto-logon.bat(108B)
--------puppet.bat(492B)
--------chef.bat(272B)
--------vm-guest-tools.bat(3KB)
--------hotfix-KB2552055.bat(1KB)
--------salt.bat(498B)
--------enable-remote-desktop.bat(837B)
--------rsync.bat(867B)
--------hotfix-KB2842230.bat(800B)
--------compact.bat(2KB)
--------oracle-cert.cer(1KB)
--------openssh.ps1(4KB)
--------pin-powershell.bat(259B)
--------disable-winrm.ps1(370B)
--------chocopacks.bat(180B)
--------disable-tasks.bat(204B)
--------enable-winrm.ps1(688B)
--------chocolatey.bat(154B)
--------compile-dotnet-assemblies.bat(640B)
--------disable-screensaver.ps1(198B)
--------dis-updates.bat(924B)
--------debloat-windows.ps1(1KB)
--------win-updates.ps1(9KB)
--------enable-uac.bat(122B)
--------.gitignore(17B)
--------vagrant-ssh.bat(315B)
--------set-powerplan.ps1(290B)
--------enable-rdp.bat(227B)
--------uac-enable.bat(107B)
--------puppet-enterprise.bat(522B)
--------set-winrm-automatic.bat(62B)
----Gemfile(147B)
----windows_2016.json(5KB)
----vagrantfile-windows_2016.template(2KB)
----spec()
--------oscar-ansible-windows2016()
----Rakefile(685B)
----README.md(2KB)
----.vagrant()
--------provisioners()
----.rspec(31B)
----Gemfile.lock(1KB)
----.gitignore(26B)

网友评论