Skip to content

Contains playbooks for the Ansiblefest 2020 talk 'Automate Windows Software Management with Chocolatey & Ansible'

Notifications You must be signed in to change notification settings

pauby/ansiblefest2020

Repository files navigation

Ansiblefest 2020 - Chocolatey and Ansible

The resources for the talk are below:

  • Slides;
  • Video (to be added later);

Things To Know

  • If you want to just play around with Ansible and Chocolatey you don't need a license or Chocolatey's Quick Deployment Environment;
  • The inventory file in the provision-env folder is for installing tower and is not an Ansible inventory file;
  • The inventory.yml file is a normal Ansible inventory you need to update before using (see the file);
  • You'll need a Chocolatey For Business License chocolatey.license.xml placed in the provision-env folder to use Chocolatey's Quick Deployment Environment;
  • To use Tower you also need a license;
  • The provision-env folder contains the playbooks and files to create the demo environment;

Create the environment

The demo environment was created in Azure and the provision_demo_env.yml file is used to do this. Look at provision_vars.yml for the variables used for the Azure provisioning and change them as necessary.

If you are going to use Chocolatey's Quick Deployment Environment then there is a little more work to be done (see the comments in the file).

To provision one or more windows clients you need to run the create_win_client_instance.yml playbook. If you are using Chocolatey's Quick Deployment Environment, you should run provision_qde_client.yml on each Windows client.

The configure_chocolatey_business.yml playbook will configure your Chocolatey For Business clients to use the Quick Deployment Environment (QDE) server as a package source. If you are not using QDE then you will need to amend this playbook.

Problems?

If you come across any problems then please raise an issue as normal. If you find yourself fixing an issue then please raise a pull request.

Finally

We haven't covered every aspect of the demo here. See the video for more information (we will provide a link when / if it's released).

About

Contains playbooks for the Ansiblefest 2020 talk 'Automate Windows Software Management with Chocolatey & Ansible'

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •