-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mandeepdhiman123
committed
Sep 10, 2020
1 parent
113cc4c
commit 77d388b
Showing
6 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
mosip-security-playbook/roles/network-security/tasks/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
- name: Get the IP of the inventory host | ||
command: "ping -c1 {{ inventory_hostname }} | sed -nE 's/^PING[^(]+\(([^)]+)\).*/\1/p'" | ||
register: host_ip | ||
- name: Run network scanning using openvas | ||
shell: | ||
with_items: "{{ groups['scancluster'] }}" | ||
#- name: Get the IP of the inventory host | ||
# command: "ping -c1 {{ inventory_hostname }} | sed -nE 's/^PING[^(]+\(([^)]+)\).*/\1/p'" | ||
# register: host_ip | ||
#- name: Run network scanning using openvas | ||
# shell: | ||
# with_items: "{{ groups['scancluster'] }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters