![]() ![]() ![]() Using with AnsibleĪnsible has the module win_chocolatey that will install chocolatey packages from Ansible playbooks. You’ll see the checksum in the output of the package install from the command line. ![]() Some packages also have checksum checks that will fail if the package has been changed. View the package source (usually a link to the code in source control).Check for this package was approved as a trusted package (date).There are a number of ways to verify the integrity of the package and chocolatey professional licence gives you more peace of mind. # View current source choco source # Add a local directory as a package source choco source add -name = "local" -source = "c:\choco-packages" # List local source the was added above choco list -source = "local" # Install from local source choco install notepadplusplus.install -source = "local" -y Once Chocolatey in installed and providing someone has packaged the software, it’s as simple as typing the following to install it: So it’s time to get back into PowerShell, Windows and taking a good look at Chocolatey package manager (after using apt-get in Ubuntu which is great and working with Ansible to invoke apt-get, I’ve used Chocolatey a bit in the past but want to learn deeper about the project and technology and who knows… might even bring back some of those rooted away PowerShell skills!).Ĭhocolatey is a package manager for Windows, it makes automating software installation, configuration and uninstallation easier by wrapping the underlying installation technologies in an easy to use command line syntax.Ĭhocolatey should be run from an admin command prompt, but you can run as a non admin by following the official guide ![]() I’ve been ticking over with PowerShell but definitely plateaued, mainly learning and using AWS cmdlets but not really scripting and it’s funny how some of the knowledge gained over the last few years has slipped to the back of the brain. I seem to be back on the Windows track at work, after a spell away learning AWS and doing lots of work with Ubuntu linux. Chocolatey fun, Windows package management ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |