Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
docker-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ansible
roles
docker-ce
Commits
0becf826
Commit
0becf826
authored
Dec 11, 2019
by
walter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update task names to be a little more clear and specify only role path tasks to be import
parent
fbe3ebf1
Pipeline
#8669
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
tasks/main.yml
tasks/main.yml
+6
-6
No files found.
tasks/main.yml
View file @
0becf826
-
name
:
Setup mountpoint
import_tasks
:
"
tasks/mountpoint.yml"
-
name
:
Load
{{ ansible_distribution }} {{ ansible_distribution_major_version }}
variables
-
name
:
Load
distribution
variables
include_vars
:
"
{{
file
|
basename
}}"
# This include_vars module is kind of dumb, so we need to test the full path but only include basename
with_first_found
:
-
files
:
...
...
@@ -13,14 +13,14 @@
loop_control
:
loop_var
:
file
-
name
:
Load
{{ ansible_distribution }} {{ ansible_distribution_major_version }}
tasks
-
name
:
Load
distribution
tasks
include_tasks
:
"
{{
file
}}"
with_first_found
:
-
files
:
-
"
tasks/{{
ansible_distribution
|
lower
}}-{{
ansible_distribution_major_version
}}.yml"
-
"
tasks/{{
ansible_distribution
|
lower
}}.yml"
-
"
tasks/{{
ansible_os_family
|
lower
}}.yml"
-
"
tasks/default.yml"
-
"
{{
role_path
}}/
tasks/{{
ansible_distribution
|
lower
}}-{{
ansible_distribution_major_version
}}.yml"
-
"
{{
role_path
}}/
tasks/{{
ansible_distribution
|
lower
}}.yml"
-
"
{{
role_path
}}/
tasks/{{
ansible_os_family
|
lower
}}.yml"
-
"
{{
role_path
}}/
tasks/default.yml"
skip
:
true
loop_control
:
loop_var
:
file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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