Skip to content

Commit

Permalink
Removed references to srv01 in playbook tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
juanhundo committed Sep 29, 2022
1 parent 13f53d3 commit 6db87e7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ansible/ad-relations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# set AD datas ==================================================================================================

- name: "Adjust rights configuration"
hosts: dc01,dc02,dc03,srv01,srv02,srv03
hosts: dc01,dc02,dc03,srv02,srv03
roles:
- { role: "settings/adjust_rights", tags: 'adjust_rights'}
vars:
Expand Down
4 changes: 2 additions & 2 deletions ansible/ad-servers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# set AD datas ==================================================================================================

- name: Prepare servers set admin password, set hostname
hosts: dc01,dc02,dc03,srv01,srv02,srv03
hosts: dc01,dc02,dc03,srv02,srv03
roles:
- { role: 'settings/admin_password', tags: 'admin_password' }
- { role: 'settings/hostname', tags: 'hostname' }
Expand Down Expand Up @@ -41,7 +41,7 @@
source_dc: "{{lab.hosts[lab.domains[parent_domain].dc].hostname}}.{{parent_domain}}"

- name: "play servers AD configuration"
hosts: srv01,srv02,srv03
hosts: srv02,srv03
roles:
- { role: 'member_server', tags: 'server'}
vars:
Expand Down
2 changes: 1 addition & 1 deletion ansible/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: build all
hosts: dc01,dc02,dc03,srv01,srv02,srv03
hosts: dc01,dc02,dc03,srv02,srv03
roles:
- { role: 'common', tags: 'common', http_proxy: "{{enable_http_proxy}}"}
- { role: 'settings/keyboard', tags: 'keyboard', layout: "fr-FR" }
Expand Down
2 changes: 1 addition & 1 deletion ansible/elk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
- { role: 'elk', tags: 'elk' }

- name: Install log agent on windows vms
hosts: dc01,dc02,dc03,srv01,srv02,srv03
hosts: dc01,dc02,dc03,srv02,srv03
roles:
- { role: 'logs_windows', tags: 'agent' }
2 changes: 1 addition & 1 deletion ansible/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tags: 'data'

- name: "Setup enable defender"
hosts: dc01,dc02,dc03,srv01,srv03
hosts: dc01,dc02,dc03,srv03
roles:
- { role: 'settings/windows_defender', tags: 'windows_defender', windows_defender_status: 'on' }
vars:
Expand Down
10 changes: 5 additions & 5 deletions ansible/vulnerabilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
vars:
script_path: "../ad/{{domain_name}}/scripts"

- name: "Setup vulnerabilities srv01"
hosts: srv01
roles:
vars:
script_path: "../ad/{{domain_name}}/scripts"
# - name: "Setup vulnerabilities srv01"
# hosts: srv01
# roles:
# vars:
# script_path: "../ad/{{domain_name}}/scripts"

# north.sevenkingdoms.local
- name: "Setup vulnerabilities dc02"
Expand Down

0 comments on commit 6db87e7

Please sign in to comment.