~canonical-ci-engineering/ubuntu-ci-services-itself/ansible

« back to all changes in this revision

Viewing changes to docs/man/man1/ansible-galaxy.1.asciidoc.in

  • Committer: Package Import Robot
  • Author(s): Harlan Lieberman-Berg
  • Date: 2014-04-01 22:00:24 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20140401220024-jkxyhf2ggcv7xmqa
Tags: 1.5.4+dfsg-1
* Pull missing manpages from upstream development branch.
* New upstream version 1.5.4, security update.
* Add patch to correct directory_mode functionality. (Closes: #743027)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ansible-galaxy(1)
 
2
===================
 
3
:doctype:      manpage
 
4
:man source:   Ansible
 
5
:man version:  %VERSION%
 
6
:man manual:   System administration commands
 
7
 
 
8
NAME
 
9
----
 
10
ansible-galaxy - manage roles using galaxy.ansible.com
 
11
 
 
12
 
 
13
SYNOPSIS
 
14
--------
 
15
ansible-galaxy [init|info|install|list|remove] [--help] [options] ...
 
16
 
 
17
 
 
18
DESCRIPTION
 
19
-----------
 
20
 
 
21
*Ansible Galaxy* is a shared repository for Ansible roles (added in
 
22
ansible version 1.2). The ansible-galaxy command can be used to manage
 
23
these roles, or by creating a skeleton framework for roles you'd like
 
24
to upload to Galaxy.
 
25
 
 
26
COMMON OPTIONS
 
27
--------------
 
28
 
 
29
*-h*, *--help*::
 
30
 
 
31
Show a help message related to the given sub-command.
 
32
 
 
33
 
 
34
INSTALL
 
35
-------
 
36
 
 
37
The *install* sub-command is used to install roles.
 
38
 
 
39
USAGE
 
40
~~~~~
 
41
 
 
42
$ ansible-galaxy install [options] [-r FILE | role_name(s)[,version] | tar_file(s)]
 
43
 
 
44
Roles can be installed in several different ways:
 
45
 
 
46
* A username.rolename[,version] - this will install a single role. The Galaxy 
 
47
  API will be contacted to provide the information about the role, and the 
 
48
  corresponding .tar.gz will be downloaded from *github.com*. If the version 
 
49
  is omitted, the most recent version available will be installed.
 
50
 
 
51
* A file name, using *-r* - this will install multiple roles listed one per
 
52
  line. The format of each line is the same as above: username.rolename[,version]
 
53
 
 
54
* A .tar.gz of a valid role you've downloaded directly from *github.com*. This
 
55
  is mainly useful when the system running Ansible does not have access to 
 
56
  the Galaxy API, for instance when behind a firewall or proxy.
 
57
 
 
58
 
 
59
OPTIONS
 
60
~~~~~~~
 
61
 
 
62
*-f*, *--force*::
 
63
 
 
64
Force overwriting an existing role.
 
65
 
 
66
*-i*, *--ignore-errors*::
 
67
 
 
68
Ignore errors and continue with the next specified role.
 
69
 
 
70
*-n*, *--no-deps*::
 
71
 
 
72
Don't download roles listed as dependencies.
 
73
 
 
74
*-p* 'ROLES_PATH', *--roles-path=*'ROLES_PATH'::
 
75
 
 
76
The path to the directory containing your roles. The default is the *roles_path* 
 
77
configured in your *ansible.cfg* file (/etc/ansible/roles if not configured)
 
78
 
 
79
*-r* 'ROLE_FILE', *--role-file=*'ROLE_FILE'::
 
80
 
 
81
A file containing a list of roles to be imported, as specified above. This
 
82
option cannot be used if a rolename or .tar.gz have been specified.
 
83
 
 
84
REMOVE
 
85
------
 
86
 
 
87
The *remove* sub-command is used to remove one or more roles.
 
88
 
 
89
USAGE
 
90
~~~~~
 
91
 
 
92
$ ansible-galaxy remove role1 role2 ...
 
93
 
 
94
OPTIONS
 
95
~~~~~~~
 
96
 
 
97
*-p* 'ROLES_PATH', *--roles-path=*'ROLES_PATH'::
 
98
 
 
99
The path to the directory containing your roles. The default is the *roles_path* 
 
100
configured in your *ansible.cfg* file (/etc/ansible/roles if not configured)
 
101
 
 
102
INIT
 
103
----
 
104
 
 
105
The *init* command is used to create an empty role suitable for uploading
 
106
to https://galaxy.ansible.com (or for roles in general).
 
107
 
 
108
USAGE
 
109
~~~~~
 
110
 
 
111
$ ansible-galaxy init [options] role_name
 
112
 
 
113
OPTIONS
 
114
~~~~~~~
 
115
 
 
116
*-f*, *--force*::
 
117
 
 
118
Force overwriting an existing role.
 
119
 
 
120
*-p* 'INIT_PATH', *--init-path=*'INIT_PATH'::
 
121
 
 
122
The path in which the skeleton role will be created.The default is the current 
 
123
working directory.
 
124
 
 
125
LIST
 
126
----
 
127
 
 
128
The *list* sub-command is used to show what roles are currently instaled.
 
129
You can specify a role name, and if installed only that role will be shown.
 
130
 
 
131
USAGE
 
132
~~~~~
 
133
 
 
134
$ ansible-galaxy list [role_name]
 
135
 
 
136
OPTIONS
 
137
~~~~~~~
 
138
 
 
139
*-p* 'ROLES_PATH', *--roles-path=*'ROLES_PATH'::
 
140
 
 
141
The path to the directory containing your roles. The default is the *roles_path*
 
142
configured in your *ansible.cfg* file (/etc/ansible/roles if not configured)
 
143
 
 
144
 
 
145
AUTHOR
 
146
------
 
147
 
 
148
Ansible was originally written by Michael DeHaan. See the AUTHORS file
 
149
for a complete list of contributors.
 
150
 
 
151
 
 
152
COPYRIGHT
 
153
---------
 
154
 
 
155
Copyright © 2014, Michael DeHaan
 
156
 
 
157
Ansible is released under the terms of the GPLv3 License.
 
158
 
 
159
 
 
160
SEE ALSO
 
161
--------
 
162
 
 
163
*ansible*(1), *ansible-pull*(1), *ansible-doc*(1)
 
164
 
 
165
Extensive documentation is available in the documentation site:
 
166
<http://docs.ansible.com>. IRC and mailing list info can be found
 
167
in file CONTRIBUTING.md, available in: <https://github.com/ansible/ansible>