diff options
Diffstat (limited to 'ansible/roles/dc01')
-rw-r--r-- | ansible/roles/dc01/tasks/cleanup.yaml | 2 | ||||
-rw-r--r-- | ansible/roles/dc01/tasks/init.yaml | 2 | ||||
-rw-r--r-- | ansible/roles/dc01/tasks/install_software.yaml | 2 | ||||
-rw-r--r-- | ansible/roles/dc01/tasks/populate_ad.yaml | 2 | ||||
-rw-r--r-- | ansible/roles/dc01/tasks/reboot.yaml | 2 | ||||
-rw-r--r-- | ansible/roles/dc01/tasks/set_hostname.yaml | 2 | ||||
-rw-r--r-- | ansible/roles/dc01/tasks/setup_domain.yaml | 2 | ||||
-rw-r--r-- | ansible/roles/dc01/tasks/setup_gpo.yaml | 2 | ||||
-rw-r--r-- | ansible/roles/dc01/tasks/wait_for_ready.yaml | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/ansible/roles/dc01/tasks/cleanup.yaml b/ansible/roles/dc01/tasks/cleanup.yaml index e30df58..e6228dc 100644 --- a/ansible/roles/dc01/tasks/cleanup.yaml +++ b/ansible/roles/dc01/tasks/cleanup.yaml @@ -1,3 +1,3 @@ -- name: "{{ ansible_host }}: execute cleanup.ps1" +- name: "execute cleanup.ps1" ansible.windows.win_powershell: script: C:\scripts\cleanup.ps1 diff --git a/ansible/roles/dc01/tasks/init.yaml b/ansible/roles/dc01/tasks/init.yaml index afd2820..8517fa4 100644 --- a/ansible/roles/dc01/tasks/init.yaml +++ b/ansible/roles/dc01/tasks/init.yaml @@ -1,3 +1,3 @@ -- name: "{{ ansible_host }}: execute init.ps1" +- name: "execute init.ps1" ansible.windows.win_powershell: script: C:\scripts\init.ps1 diff --git a/ansible/roles/dc01/tasks/install_software.yaml b/ansible/roles/dc01/tasks/install_software.yaml index 4c43d2b..1bfb4ef 100644 --- a/ansible/roles/dc01/tasks/install_software.yaml +++ b/ansible/roles/dc01/tasks/install_software.yaml @@ -1,3 +1,3 @@ -- name: "{{ ansible_host }}: execute install-software.ps1" +- name: "execute install-software.ps1" ansible.windows.win_powershell: script: C:\scripts\install-software.ps1 diff --git a/ansible/roles/dc01/tasks/populate_ad.yaml b/ansible/roles/dc01/tasks/populate_ad.yaml index 6eae140..d19de8b 100644 --- a/ansible/roles/dc01/tasks/populate_ad.yaml +++ b/ansible/roles/dc01/tasks/populate_ad.yaml @@ -1,4 +1,4 @@ -- name: "{{ ansible_host }}: execute populate-ad.ps1" +- name: "execute populate-ad.ps1" ansible.windows.win_powershell: script: C:\scripts\populate-ad.ps1 parameters: diff --git a/ansible/roles/dc01/tasks/reboot.yaml b/ansible/roles/dc01/tasks/reboot.yaml index 6c17c3d..0e944d0 100644 --- a/ansible/roles/dc01/tasks/reboot.yaml +++ b/ansible/roles/dc01/tasks/reboot.yaml @@ -1,3 +1,3 @@ -- name: "{{ ansible_host }}: reboot" +- name: "reboot" ansible.windows.win_reboot: reboot_timeout: 3600 diff --git a/ansible/roles/dc01/tasks/set_hostname.yaml b/ansible/roles/dc01/tasks/set_hostname.yaml index 73fa63c..6113a17 100644 --- a/ansible/roles/dc01/tasks/set_hostname.yaml +++ b/ansible/roles/dc01/tasks/set_hostname.yaml @@ -1,2 +1,2 @@ -- name: "{{ ansible_host }}: set hostname" +- name: "set hostname" ansible.windows.win_shell: Rename-Computer -NewName "{{ main_dc01_hostname }}" -Force diff --git a/ansible/roles/dc01/tasks/setup_domain.yaml b/ansible/roles/dc01/tasks/setup_domain.yaml index 778c4db..3f4928a 100644 --- a/ansible/roles/dc01/tasks/setup_domain.yaml +++ b/ansible/roles/dc01/tasks/setup_domain.yaml @@ -1,4 +1,4 @@ -- name: "{{ ansible_host }}: execute setup-main-domain.ps1" +- name: "execute setup-main-domain.ps1" ansible.windows.win_powershell: script: C:\scripts\setup-main-domain.ps1 parameters: diff --git a/ansible/roles/dc01/tasks/setup_gpo.yaml b/ansible/roles/dc01/tasks/setup_gpo.yaml index 53eb086..700b3ca 100644 --- a/ansible/roles/dc01/tasks/setup_gpo.yaml +++ b/ansible/roles/dc01/tasks/setup_gpo.yaml @@ -1,4 +1,4 @@ -- name: "{{ ansible_host }}: execute setup-gpo.ps1 as domain admin" +- name: "execute setup-gpo.ps1 as domain admin" ansible.windows.win_command: powershell.exe -ExecutionPolicy Bypass -File C:\scripts\setup-gpo.ps1 -DomainName "{{ main_domain_name }}" become: yes become_method: runas diff --git a/ansible/roles/dc01/tasks/wait_for_ready.yaml b/ansible/roles/dc01/tasks/wait_for_ready.yaml index c43431c..23ef4d1 100644 --- a/ansible/roles/dc01/tasks/wait_for_ready.yaml +++ b/ansible/roles/dc01/tasks/wait_for_ready.yaml @@ -1,3 +1,3 @@ -- name: "{{ ansible_host }}: execute dc-wait-for-ready.ps1" +- name: "execute dc-wait-for-ready.ps1" ansible.windows.win_powershell: script: C:\scripts\dc-wait-for-ready.ps1 |