https://github.com/petersonwsantos/windows_desktop_packages
ANSIBLE - Role for install Windows desktop packages
https://github.com/petersonwsantos/windows_desktop_packages
ansible ansible-galaxy
Last synced: about 1 year ago
JSON representation
ANSIBLE - Role for install Windows desktop packages
- Host: GitHub
- URL: https://github.com/petersonwsantos/windows_desktop_packages
- Owner: petersonwsantos
- Created: 2017-08-30T18:47:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-31T13:16:21.000Z (almost 9 years ago)
- Last Synced: 2025-04-24T05:44:43.412Z (about 1 year ago)
- Topics: ansible, ansible-galaxy
- Size: 51.8 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/petersonwsantos/windows_desktop_packages)
[](https://github.com/petersonwsantos/windows_desktop_packages/releases)
[](https://github.com/petersonwsantos/windows_desktop_packages/issues)
Role Windows Desktop Packages
==============================
This Ansible Role install programs on the network's desktops using the chocolatey package manager.

- **Project - Ansible Roles:** https://www.pivotaltracker.com/n/projects/2102371
- **Story:** https://www.pivotaltracker.com/story/show/150707627
Requirements
------------
Test your Ansible configuration with winrm.
**[root@ansible ]#** ansible windows -m win_ping
```
192.168.0.116 | SUCCESS => {
"changed": false,
"ping": "pong"
}
```
Role Variables
--------------
The Variables for this role must be defined in 'default/main.yml' 'vars/main.yml' or '/etc/ansible/groupvars/'.
**windows_desktop_packages_version** : For instalation packages on specific version.
Ex:
```
windows_desktop_packages_version:
- notepadplusplus:
name: notepadplusplus
state: present
version: 7.4.2
force: True
- googlechrome:
name: googlechrome
state: present
version: 60.0.3112.113
force: false
```
**windows_desktop_packages_latest**: For instalation packages on latest version
Ex:
```
windows_desktop_packages_latest:
- chocolatey
- firefox
- jre8
- conemu
- 7zip.install
- openoffice
- cdburnerxp
- adobereader
- ccleaner
- dotnet4.0
- flashplayerplugin
- vlc
- pdfcreator
- wget
```
Chocolatey
--------------------
https://chocolatey.org/packages
Subscribe Chocolatey to updates
Dependencies
------------
Windows 7 or higher
Example Playbook
----------------
**[root@ansible ]#** vi site.yml
```
- name: apply common configuration to windows nodes
hosts: windows
roles:
- windows_desktop_packages
```
**[root@ansible ]#** ansible-galaxy install petersonwsantos.windows_desktop_packages
**[root@ansible ]#** tree /etc/ansible
```
/etc/ansible
├── group_vars
│ ├── all.yml
│ └── windows.yml
├── hosts
├── roles
│ ├── petersonwsantos.windows_desktop_packages
│ │ ├── defaults
│ │ │ └── main.yml
│ │ ├── handlers
│ │ │ └── main.yml
│ │ ├── meta
│ │ │ └── main.yml
│ │ ├── README.md
│ │ ├── tasks
│ │ │ └── main.yml
│ │ ├── tests
│ │ │ ├── inventory
│ │ │ └── test.yml
│ │ ├── Vagrantfile
│ │ └── vars
│ │ └── main.yml
└── site.yml
```
**[root@ansible ]#** ansible-playbook site.yml
License
-------
BSD
Author Information
------------------
Peterson W santos