Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
f4690e3b
Commit
f4690e3b
authored
Sep 21, 2015
by
chouseknecht
Committed by
James Cammarata
Sep 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changing tag to galaxy_tag.
parent
8360a1b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
lib/ansible/cli/galaxy.py
+5
-5
lib/ansible/galaxy/data/metadata_template.j2
+2
-2
No files found.
lib/ansible/cli/galaxy.py
View file @
f4690e3b
...
...
@@ -85,9 +85,9 @@ class GalaxyCLI(CLI):
elif
self
.
action
==
"search"
:
self
.
parser
.
add_option
(
'-P'
,
'--platforms'
,
dest
=
'platforms'
,
help
=
'list of OS platforms to filter by'
)
self
.
parser
.
add_option
(
'-T'
,
'--tags'
,
dest
=
'tags'
,
help
=
'list of tags to filter by'
)
self
.
parser
.
set_usage
(
"usage:
%
prog search [<search_term>] [-T <
tag1,
tag2>] [-P platform]"
)
self
.
parser
.
add_option
(
'-T'
,
'--
galaxy-
tags'
,
dest
=
'tags'
,
help
=
'list of
galaxy
tags to filter by'
)
self
.
parser
.
set_usage
(
"usage:
%
prog search [<search_term>] [-T <
galaxy_tag1,galaxy_
tag2>] [-P platform]"
)
# options that apply to more than one action
if
self
.
action
!=
"init"
:
...
...
@@ -248,8 +248,8 @@ class GalaxyCLI(CLI):
if
dir
==
"meta"
:
# create a skeleton meta/main.yml with a valid galaxy_info
# datastructure in place, plus with all of the available
#
tags/platforms included (but commented out) and the
# dependencies section
#
platforms included (but commented out), the galaxy_tags
#
list, and the
dependencies section
platforms
=
[]
if
not
offline
and
self
.
api
:
platforms
=
self
.
api
.
get_list
(
"platforms"
)
or
[]
...
...
lib/ansible/galaxy/data/metadata_template.j2
View file @
f4690e3b
...
...
@@ -28,14 +28,14 @@ galaxy_info:
# - {{ version }}
{%- endfor %}
{%- endfor %}
tags: []
galaxy_
tags: []
# List tags for your role here, one per line. A tag is
# a keyword that describes and categorizes the role.
# Users find roles by searching for tags. Be sure to
# remove the '[]' above if you add dependencies
# to this list.
#
# NOTE: A tag is limted to a single word comprised of
# NOTE: A tag is lim
i
ted to a single word comprised of
# alphanumeric characters. Maximum 20 tags per role.
dependencies: []
# List your role dependencies here, one per line.
...
...
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