Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit a3cecdb3 authored by Arno DONEUX's avatar Arno DONEUX
Browse files

Merge branch 'add_paus' into 'main'

Merge Add paus to main

See merge request !25
parents 2f557d3d 9f2134d5
No related branches found
No related tags found
1 merge request!25Merge Add paus to main
......@@ -182,6 +182,10 @@
debug:
msg: "{{ check_waf }}"
- name: Wait for 20 seconds
pause:
seconds: 20
- name: Check WAF
assert:
that:
......@@ -487,3 +491,46 @@
- check | length > 0
success_msg: "'VA central policy is present '"
fail_msg: "'VA central policy is missing'"
- name: Set command for Exception
set_fact:
Network: |
{{ Network |default('') }}
{{ lookup('file', '../../scripts/{{ item }}') }}
with_items:
- Network_check
- name: la cmd for Network interface configuration check
debug:
msg: "the command is{{ Network }}"
- name: Deploy Script on devices
sgos.sgos_command.sgos_command:
provider: "{{ provider }}"
cmd: |
"{{ item }}"
register: deploy_script12
delegate_to: "{{ delegate_host }}"
with_items: "{{ Network }}"
- name: Filter on Refconf
set_fact:
conf: "{{ conf | default([]) }} + {{ item['original_message'] }}"
with_items: "{{ deploy_script12.results }}"
delegate_to: "{{ delegate_host }}"
- name: Look for what you want
set_fact:
check: "{{ conf | regex_findall('Internet address.*|Valid from.*\n.*', multiline=True) }}"
- name: Display network configuration is present
debug:
msg: "{{ check }}"
- name: Check {{ target }} network configuration
assert:
that:
- "('Internet address: {{ ip_mgt }} netmask 255.255.255.128' in check)"
- "('Internet address: {{ ip_env }} netmask 255.255.255.0' in check)"
success_msg: "'Managment and Service interface are properly defined'"
fail_msg: "'One configuration is wrongly defined'"
show interface all
\ No newline at end of file
......@@ -252,9 +252,9 @@
user-attribute "domainUsername"
group-attribute "domain"
virtual-host "https://gw-sso-stargate.acceptance.tech.ec.europa.eu"
inactivity-timeout 3600
inactivity-timeout 14400
relaystate-timeout 300
refresh-time credential-refresh 3600
refresh-time credential-refresh 14400
refresh-time surrogate-refresh 3600
exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment