chocolateyBootstrap: module.run: - name: chocolatey.bootstrap chocolateySource: module.run: - name: chocolatey.add_source - m_name: UCS - source_location: \\ucs\software\nupkg {% import_yaml "packages.yaml" as packages %} {% for pkg in packages %} {{ pkg }}: chocolatey.installed: - name: {{ pkg }} - require: - chocolateyBootstrap - chocolateySource {% endfor %} Upgrade All: chocolatey.upgraded: - name: all - require: - chocolateyBootstrap # windowsUpdates: # wua.uptodate: # - drivers: true # 'gpupdate /force': # cmd.run setTimezone: timezone.system: - name: America/New_York