Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vladimir
noc
Commits
abb8722f
Commit
abb8722f
authored
Jul 05, 2022
by
EKbfh
🐼
Browse files
Merge branch 'fix-deprecation-tower_run_checks' into 'master'
fix tower_run_checks See merge request
noc/noc!6436
parents
6f6d43b6
d82ef34c
Changes
6
Hide whitespace changes
Inline
Side-by-side
ansible/noc_roles/post/tasks/main.yml
View file @
abb8722f
...
...
@@ -5,18 +5,18 @@
check_mode
:
"
False"
changed_when
:
false
register
:
noc_ctl_status
when
:
tower_serial_restart_noc
when
:
(
tower_serial_restart_noc
)
-
name
:
Reread config
command
:
"
{{
noc_root
}}/noc
ctl
reread"
register
:
noc_ctl_reread
when
:
-
tower_serial_restart_noc
-
(
tower_serial_restart_noc
)
-
"
'RUNNING'
in
noc_ctl_status.stdout"
-
name
:
Serial NOC restart
command
:
"
{{
noc_root
}}/noc
ctl
serialrestart
all"
when
:
tower_serial_restart_noc
when
:
(
tower_serial_restart_noc
)
changed_when
:
false
-
name
:
Restart NOC node
...
...
@@ -27,7 +27,7 @@
enabled
:
"
True"
changed_when
:
"
True"
when
:
-
tower_stop_noc
-
(
tower_stop_noc
)
-
not tower_serial_restart_noc
-
name
:
notify deploy finished
...
...
ansible/post.yml
View file @
abb8722f
...
...
@@ -23,6 +23,6 @@
-
name
:
Run post installation tests
include_tasks
:
"
{{
item
}}"
with_myglob
:
[
"
./*_roles/*/tasks/tests.yml"
]
when
:
tower_run_tests
when
:
(
tower_run_tests
)
tags
:
-
tests
ansible/pre.yml
View file @
abb8722f
...
...
@@ -13,7 +13,7 @@
-
name
:
Run pre installation checks
include_tasks
:
"
{{
item
}}"
with_myglob
:
[
"
./*_roles/*/tasks/checks.yml"
]
when
:
tower_run_checks
when
:
(
tower_run_checks
)
tags
:
-
checks
...
...
ansible/system_roles/nginx/tasks/os/CentOS_7/main.yml
View file @
abb8722f
...
...
@@ -38,6 +38,6 @@
notify
:
reload nginx
-
include_tasks
:
"
firewall.yml"
when
:
nginx_permit_firewall
when
:
(
nginx_permit_firewall
)
tags
:
-
firewall
ansible/system_roles/nginx/tasks/os/OracleLinux_7/main.yml
View file @
abb8722f
...
...
@@ -38,6 +38,6 @@
notify
:
reload nginx
-
include_tasks
:
"
firewall.yml"
when
:
nginx_permit_firewall
when
:
(
nginx_permit_firewall
)
tags
:
-
firewall
ansible/system_roles/nginx/tasks/os/RedHat_7/main.yml
View file @
abb8722f
...
...
@@ -33,6 +33,6 @@
notify
:
reload nginx
-
include_tasks
:
"
firewall.yml"
when
:
nginx_permit_firewall
when
:
(
nginx_permit_firewall
)
tags
:
-
firewall
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment