WINDOWS Ansible role to create a little base Setup for my Ansible Managed Windows 10 Enterprise Hosts
defaults | ||
tasks | ||
vars | ||
.gitignore | ||
.yamllint | ||
LICENSE | ||
README.md |
win_ansible_role_base_setup
WINDOWS Ansible role to create a little base Setup to manage Windows 10 Enterprise Hosts
Requirements
- A Windows 10 Host ready to get ansible deployed
What this role does:
- Create a 'Ansibles' Group and a 'ansible' Administrator user.
Use these variables to set a username and a password:
win_base_init__created_user_name: 'ansible'
win_base_init__created_user_password: 'ChangeToSecurePassword'
- Set the
inventory_hostname
as hostname and reboots.- Disable automatic reboot using
win_base_init__allow_reboot: false
- Disable automatic reboot using
- Optionally setting OS description, owner and org if you define them in these variables:
win_base_init__os_description: ''
win_base_init__os_organization: ''
win_base_init__os_owner: ''
- Installs some packages using chocolatey, defined in:
win_base_init__packages: [git, Firefox, mpvio, vlc]
- Search for updates and log available updates to
C:\ansible_updates.txt
. (search only, no installation)