Upload Ansible Files
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
---
|
||||
- name: Install Setup Defaults
|
||||
hosts: AD01
|
||||
gather_facts: false
|
||||
vars_files:
|
||||
- kunden/{{ kunde }}/defaults.yaml
|
||||
roles:
|
||||
- role: openssh-server-service
|
||||
- role: ansible_ip
|
||||
vars:
|
||||
ip: "{{ ansible_host }}"
|
||||
- role: windows_ip_set
|
||||
vars:
|
||||
hostip : "{{ ansible_host }}"
|
||||
- role: windows_hostname
|
||||
vars:
|
||||
hostname: "{{ kundenkürzel}}-{{ inventory_hostname }}"
|
||||
- role: wait
|
||||
vars:
|
||||
timeout_set: 60
|
||||
vmid: "{{ kundenkürzel}}-{{ inventory_hostname }}"
|
||||
ignore_errors: true
|
||||
|
||||
- name: Install ad-controller
|
||||
hosts: AD01
|
||||
gather_facts: false
|
||||
vars_files:
|
||||
- kunden/{{ kunde }}/defaults.yaml
|
||||
roles:
|
||||
- role: windows_choco_install_defaults
|
||||
vars:
|
||||
timeout_set: 60
|
||||
- role: windows_scheduled_tasks
|
||||
- role: windows_adcontroller_install
|
||||
ignore_errors: true
|
||||
Reference in New Issue
Block a user