Instruqt Refactor (#40)
* work on landing page * work on landing page * work on landing page * landing page * landing page * landing page * landing page * landing page * landing page * landing page * landing page * landing page * landing page * landing page * add files * derp * add link * add link * add link * add link * add link * add link * add link * add link * add link * add link * add link * add link * add link * add ee * add ee * add ee * fix landing page * fix landing page * fix landing page * fix landing page * fix landing page * remove commented out sections * remove default ee * set local admin password * set ee for fact scan * fall back to default ee for patching * check for valid org_id * check for valid org_id * check admin username * add remote_user * credssp * ntlm
This commit is contained in:
@@ -75,7 +75,6 @@ controller_templates:
|
|||||||
project: Ansible official demo project
|
project: Ansible official demo project
|
||||||
playbook: cloud/create_infra.yml
|
playbook: cloud/create_infra.yml
|
||||||
inventory: Workshop Inventory
|
inventory: Workshop Inventory
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
@@ -108,7 +107,6 @@ controller_templates:
|
|||||||
project: Ansible official demo project
|
project: Ansible official demo project
|
||||||
playbook: cloud/create_vm.yml
|
playbook: cloud/create_vm.yml
|
||||||
inventory: Workshop Inventory
|
inventory: Workshop Inventory
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
@@ -154,7 +152,6 @@ controller_templates:
|
|||||||
project: Ansible official demo project
|
project: Ansible official demo project
|
||||||
playbook: cloud/destroy_vm.yml
|
playbook: cloud/destroy_vm.yml
|
||||||
inventory: Workshop Inventory
|
inventory: Workshop Inventory
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
|
|||||||
@@ -8,6 +8,10 @@
|
|||||||
that:
|
that:
|
||||||
- org_id is defined
|
- org_id is defined
|
||||||
- activation_key is defined
|
- activation_key is defined
|
||||||
|
- org_id != ''
|
||||||
|
- activation_key != ''
|
||||||
|
- org_id != 'undef'
|
||||||
|
- activation_key != 'undef'
|
||||||
|
|
||||||
- name: set hostname
|
- name: set hostname
|
||||||
hostname:
|
hostname:
|
||||||
|
|||||||
@@ -1,9 +1,15 @@
|
|||||||
---
|
---
|
||||||
- name: Create Active Directory domain
|
- name: Create Active Directory domain
|
||||||
hosts: "{{ HOSTS | default('windows') }}"
|
hosts: "{{ HOSTS | default('os_windows') }}"
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
|
- name: Set Local Admin Password
|
||||||
|
ansible.windows.win_user:
|
||||||
|
name: Administrator
|
||||||
|
password: "{{ ansible_password }}"
|
||||||
|
|
||||||
- name: Create new domain in a new forest on the target host
|
- name: Create new domain in a new forest on the target host
|
||||||
ansible.windows.win_domain:
|
ansible.windows.win_domain:
|
||||||
dns_domain_name: ansible.local
|
dns_domain_name: ansible.local
|
||||||
@@ -22,6 +28,7 @@
|
|||||||
state: present
|
state: present
|
||||||
timeout: 600
|
timeout: 600
|
||||||
sleep: 10
|
sleep: 10
|
||||||
|
remote_user: Administrator
|
||||||
|
|
||||||
- name: Create some groups
|
- name: Create some groups
|
||||||
community.windows.win_domain_group:
|
community.windows.win_domain_group:
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
ansible_connection: winrm
|
ansible_connection: winrm
|
||||||
ansible_winrm_transport: ntlm
|
ansible_winrm_transport: ntlm
|
||||||
ansible_winrm_server_cert_validation: ignore
|
ansible_winrm_server_cert_validation: ignore
|
||||||
ansible_port: 5986
|
ansible_port: 5986
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ controller_templates:
|
|||||||
inventory: "Workshop Inventory"
|
inventory: "Workshop Inventory"
|
||||||
project: "Ansible official demo project"
|
project: "Ansible official demo project"
|
||||||
playbook: "windows/install_iis.yml"
|
playbook: "windows/install_iis.yml"
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
@@ -91,7 +90,6 @@ controller_templates:
|
|||||||
inventory: "Workshop Inventory"
|
inventory: "Workshop Inventory"
|
||||||
project: "Ansible official demo project"
|
project: "Ansible official demo project"
|
||||||
playbook: "windows/windows_choco_multiple.yml"
|
playbook: "windows/windows_choco_multiple.yml"
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
@@ -112,7 +110,6 @@ controller_templates:
|
|||||||
inventory: "Workshop Inventory"
|
inventory: "Workshop Inventory"
|
||||||
project: "Ansible official demo project"
|
project: "Ansible official demo project"
|
||||||
playbook: "windows/windows_choco_specific.yml"
|
playbook: "windows/windows_choco_specific.yml"
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
@@ -137,7 +134,6 @@ controller_templates:
|
|||||||
inventory: "Workshop Inventory"
|
inventory: "Workshop Inventory"
|
||||||
project: "Ansible official demo project"
|
project: "Ansible official demo project"
|
||||||
playbook: "windows/powershell.yml"
|
playbook: "windows/powershell.yml"
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
@@ -163,7 +159,6 @@ controller_templates:
|
|||||||
inventory: "Workshop Inventory"
|
inventory: "Workshop Inventory"
|
||||||
project: "Ansible official demo project"
|
project: "Ansible official demo project"
|
||||||
playbook: "windows/powershell_script.yml"
|
playbook: "windows/powershell_script.yml"
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
@@ -192,7 +187,6 @@ controller_templates:
|
|||||||
inventory: "Workshop Inventory"
|
inventory: "Workshop Inventory"
|
||||||
project: "Ansible official demo project"
|
project: "Ansible official demo project"
|
||||||
playbook: "windows/powershell_dsc.yml"
|
playbook: "windows/powershell_dsc.yml"
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
@@ -213,7 +207,6 @@ controller_templates:
|
|||||||
inventory: "Workshop Inventory"
|
inventory: "Workshop Inventory"
|
||||||
project: "Ansible official demo project"
|
project: "Ansible official demo project"
|
||||||
playbook: "windows/create_ad_domain.yml"
|
playbook: "windows/create_ad_domain.yml"
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
@@ -234,7 +227,6 @@ controller_templates:
|
|||||||
inventory: "Workshop Inventory"
|
inventory: "Workshop Inventory"
|
||||||
project: "Ansible official demo project"
|
project: "Ansible official demo project"
|
||||||
playbook: "windows/helpdesk_new_user_portal.yml"
|
playbook: "windows/helpdesk_new_user_portal.yml"
|
||||||
execution_environment: Default execution environment
|
|
||||||
notification_templates_started: Telemetry
|
notification_templates_started: Telemetry
|
||||||
notification_templates_success: Telemetry
|
notification_templates_success: Telemetry
|
||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
|
|||||||
Reference in New Issue
Block a user