Added set culture

This commit is contained in:
2016-11-15 00:01:06 +13:00
parent a5571a040e
commit 986e5b98ac

View File

@@ -1,4 +1,8 @@
--- ---
- name: Set Timezone
win_timezone:
timezone: "New Zealand Standard Time"
- name: Ensure Administrator password - name: Ensure Administrator password
win_user: win_user:
name: administrator name: administrator
@@ -7,16 +11,16 @@
state: present state: present
update_password: always update_password: always
changed_when: false changed_when: false
- name: Ensure System Culture Set
win_locale:
culture: en-NZ
- name: Ensure DNS is set - name: Ensure DNS is set
win_dns: win_dns:
dns1: "{{ dns_servers[0] }}" dns1: "{{ dns_servers[0] }}"
dns2: "{{ dns_servers[1] }}" dns2: "{{ dns_servers[1] }}"
- name: Ensure System Culture Set
win_locale:
culture: en-NZ
- name: Ensure domain is joined - name: Ensure domain is joined
win_ad_domain: win_ad_domain:
admin_user: "{{ ad_admin_username }}" admin_user: "{{ ad_admin_username }}"
@@ -24,15 +28,4 @@
domain_name: "{{ ad_domain_name }}" domain_name: "{{ ad_domain_name }}"
when: ad_domain_joined when: ad_domain_joined
notify: reboot windows notify: reboot windows
- meta: flush_handlers - meta: flush_handlers
- name: Install common packages
win_chocolatey:
name: "{{ item }}"
state: present
with_items:
- notepadplusplus.install
- tailblazer
- 7zip
- winscp
- firefoxesr