Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
0e82150e
Commit
0e82150e
authored
5 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
giving up on making the loginnode play conditional
parent
1568248c
No related branches found
No related tags found
1 merge request
!297
Cicd merge back
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CICD/master_playbook.yml
+1
-18
1 addition, 18 deletions
CICD/master_playbook.yml
CICD/plays/loginnodes.yml
+1
-0
1 addition, 0 deletions
CICD/plays/loginnodes.yml
with
2 additions
and
18 deletions
CICD/master_playbook.yml
+
1
−
18
View file @
0e82150e
...
...
@@ -5,21 +5,4 @@
-
import_playbook
:
plays/nfssqlnodes.yml
-
import_playbook
:
plays/mgmtnodes.yml
-
import_playbook
:
plays/computenodes.yml
-
hosts
:
127.0.0.1
gather_facts
:
false
connection
:
local
tasks
:
-
name
:
running stat
stat
:
path
:
plays/loginnodes.yml
register
:
loginnodes_play
# delegate_to: localhost #maybe this works on facts only
# delegate_facts: yes #maybe this works on facts only
-
debug
:
var
:
loginnodes_play
-
name
:
Include task list in play only if the condition is
true
include
:
plays/loginnodes.yml
static
:
no
when
:
loginnodes_play.stat.exists == True
\ No newline at end of file
-
import_playbook
:
plays/loginnodes.yml
\ No newline at end of file
This diff is collapsed.
Click to expand it.
CICD/plays/loginnodes.yml
0 → 120000
+
1
−
0
View file @
0e82150e
../tests/ManagementNodes/check.yml
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Andreas Hamacher
@handreas
mentioned in commit
594c9675
·
4 years ago
mentioned in commit
594c9675
mentioned in commit 594c9675ea6fabb2c58ccc2c8d52f18b1bf3b338
Toggle commit list
Andreas Hamacher
@handreas
mentioned in commit
6e66bae7
·
4 years ago
mentioned in commit
6e66bae7
mentioned in commit 6e66bae71b1be2c3de40f783122169a0e6b1e7c7
Toggle commit list
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment