You've already forked ansible-role-common
Added set culture
This commit is contained in:
@@ -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
|
||||||
@@ -8,15 +12,15 @@
|
|||||||
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 }}"
|
||||||
@@ -25,14 +29,3 @@
|
|||||||
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
|
|
||||||
Reference in New Issue
Block a user