summaryrefslogtreecommitdiff
path: root/ansible/roles/adcs01/tasks/main.yaml
blob: e3f89230695912626cabf7f11cb33919b595fcdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
- name: wait for winrm to be available
  ansible.builtin.wait_for:
    host: "{{ ansible_host }}"
    port: "{{ ansible_port }}"
    timeout: 300
  delegate_to: localhost

- name: execute init.ps1
  import_tasks: init.yaml

- name: set hostname
  import_tasks: set_hostname.yaml

- name: reboot after hostname change
  import_tasks: reboot.yaml

- name: join domain and reboot
  import_tasks: join_domain.yaml

- name: execute setup-adcs.ps1
  import_tasks: setup_adcs.yaml

- name: reboot after adcs setup
  import_tasks: reboot.yaml

- name: pause 5 minutes for adcs setup to complete
  pause:
    minutes: 5

- name: execute setup-adcs-esc.ps1
  import_tasks: setup_adcs_esc.yaml

- name: reboot after adcs esc setup
  import_tasks: reboot.yaml

- name: execute install-software.ps1
  import_tasks: install_software.yaml

- name: execute cleanup.ps1
  import_tasks: cleanup.yaml