diff options
author | heqnx <root@heqnx.com> | 2025-07-12 14:41:46 +0300 |
---|---|---|
committer | heqnx <root@heqnx.com> | 2025-07-12 14:41:46 +0300 |
commit | 6e559dd880cf72b23c98d63e53982e4f359747f4 (patch) | |
tree | 7586d79ccfabb2afb4e0d8ba711bfca6e75d311b /ansible/main.yaml | |
parent | 5c07039ceb41ad6867213827440876a74f586aad (diff) | |
download | ansible-active-directory-range-6e559dd880cf72b23c98d63e53982e4f359747f4.tar.gz ansible-active-directory-range-6e559dd880cf72b23c98d63e53982e4f359747f4.zip |
explicit task names
Diffstat (limited to 'ansible/main.yaml')
-rw-r--r-- | ansible/main.yaml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ansible/main.yaml b/ansible/main.yaml index 3c0effe..df44b76 100644 --- a/ansible/main.yaml +++ b/ansible/main.yaml @@ -2,7 +2,7 @@ hosts: localhost gather_facts: no tasks: - - name: deploy main domain controller vm on proxmox + - name: "deploy {{ main_dc01_hostname }}.{{ main_domain_name }} vm on {{ proxmox_hostname }}" include_role: name: proxmox_vm vars: @@ -19,7 +19,7 @@ domain: "{{ main_domain_name }}" fqdn: "{{ main_dc01_hostname }}.{{ main_domain_name }}" - - name: add domain controller vm to in-memory inventory + - name: "add {{ main_dc01_hostname }}.{{ main_domain_name }} to in-memory inventory" add_host: name: "{{ main_dc01_hostname }}.{{ main_domain_name }}" ansible_host: "{{ main_dc01_ip_address }}" @@ -31,7 +31,7 @@ ansible_winrm_server_cert_validation: ignore changed_when: false - - name: deploy linux domain vm on proxmox + - name: "deploy {{ main_linux_srv01_hostname }}.{{ main_domain_name }} vm on {{ proxmox_hostname }}" include_role: name: proxmox_vm vars: @@ -48,7 +48,7 @@ domain: "{{ main_domain_name }}" fqdn: "{{ main_linux_srv01_hostname }}.{{ main_domain_name }}" - - name: add linux domain vm to in-memory inventory + - name: "add {{ main_linux_srv01_hostname }}.{{ main_domain_name }} to in-memory inventory" add_host: name: "{{ main_linux_srv01_hostname }}.{{ main_domain_name }}" ansible_host: "{{ main_linux_srv01_ip_address }}" @@ -59,16 +59,16 @@ ansible_host_key_checking: false changed_when: false -- name: configure everything +- name: configure hosts hosts: all gather_facts: no tasks: - - name: configure windows dc + - name: "configure {{ main_dc01_hostname }}.{{ main_domain_name }}" include_role: name: dc01 when: inventory_hostname == main_dc01_hostname + '.' + main_domain_name - - name: configure linux server + - name: "configure {{ main_linux_srv01_hostname }}.{{ main_domain_name }}" include_role: name: srv01 when: inventory_hostname == main_linux_srv01_hostname + '.' + main_domain_name |