Skip to content

Commit

Permalink
missing qoute
Browse files Browse the repository at this point in the history
  • Loading branch information
mandeepdhiman123 committed Sep 10, 2020
1 parent 113cc4c commit 77d388b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
1 change: 0 additions & 1 deletion mosip-security-playbook/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ host: '127.0.0.1'
port: '8090'

#functional testrig variables
#testrig_version: '1.1'
testrig_dir: '{{tools_dir}}/mosip-functional-tests-{{ testrig_version }}/'
functional_test_report_dir: '{{report_dir}}/functional-test/'
schedule_time: '1'
Expand Down
3 changes: 3 additions & 0 deletions mosip-security-playbook/playbooks/functional-test-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
prompt: "Please provide git branch name"
private: no
default: "1.1"
tasks:
- set_fact:
testrig_version: "{{ testrig_version }}"

roles:
- {role: functional-test-setup, tags: [functional-test-setup]}
2 changes: 1 addition & 1 deletion mosip-security-playbook/roles/api-security/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
replace:
path: "{{ roles_dir }}/api-security/robot-file/playbook.robot"
regexp: "(<testrig_dir>)"
replace: "{{testrig_dir}}"
replace: "{{testrig_dir }}"

- name: Replace modules
replace:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
shell: "mv {{ testrig_dir }}/automationtests/target/*dependencies.jar {{ testrig_dir }}/automationtests/target/automationtests.jar"
when: testrig_folder.stat.exists == false

- name: I m new Sceduling upgraded Cronjob for test-rig
- name: Sceduling upgraded Cronjob for test-rig
cron:
name: "{{ item }}"
minute: "{{ (((30|int + ansible_loop.index|int) % 2|int) * 30|int)|int }}"
Expand Down
12 changes: 6 additions & 6 deletions mosip-security-playbook/roles/network-security/tasks/main.yml
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'] }}"
2 changes: 1 addition & 1 deletion mosip-security-playbook/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
- import_playbook: playbooks/os-security.yml
- import_playbook: playbooks/docker-security.yml
- import_playbook: playbooks/port-security.yml
- import_playbook: playbooks/network-security.yml Setup complete use via https://<Your IP>:4000/ Working on Command line
#- import_playbook: playbooks/network-security.yml Not available via commandline yet. use via https://<Your IP>:4000/
- import_playbook: playbooks/api-security.yml

0 comments on commit 77d388b

Please sign in to comment.