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
f4ffddef
Commit
f4ffddef
authored
Feb 28, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:mpdehaan/ansible
parents
ca49676e
c0b4c80b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
24 deletions
+2
-24
docs/man/man5/ansible-modules.5
+1
-1
docs/man/man5/ansible-playbook.5
+1
-23
No files found.
docs/man/man5/ansible-modules.5
View file @
f4ffddef
...
...
@@ -174,6 +174,6 @@ Ansible was originally written by Michael DeHaan\&. See the AUTHORS file for a c
.sp
\fBansible\fR(1)
.sp
\fBansible\-playbook\fR(5)
\- pending
\fBansible\-playbook\fR(5)
.sp
Ansible home page: https://github\&.com/mpdehaan/ansible/
docs/man/man5/ansible-playbook.5
View file @
f4ffddef
...
...
@@ -28,29 +28,7 @@ Ansible ships with a ansible\-playbook tool for running playbooks\&. Playbooks c
Playbooks are currently writeable in YAML\&. Other formats (JSON?) may be supported in the future\&.
.SH "EXAMPLE"
.sp
.if n \{\
.RS 4
.\}
.nf
\-\-\-
\- pattern: \'*\'
hosts: \'/etc/ansible/hosts\'
tasks:
\- name: configure template & module variables for future template calls
action: setup http_port=80 max_clients=200
\- name: write the apache config file
action: template src=/srv/templates/httpd\&.j2 dest=/etc/httpd/conf
notify:
\- restart apache
\- name: ensure apache is running
action: service name=httpd state=started
handlers:
\- name: restart apache
\- action: service name=httpd state=restarted
.fi
.if n \{\
.RE
.\}
see https://github\&.com/mpdehaan/ansible/blob/master/examples/playbook\&.yml
.SH "WHAT THE EXAMPLE MEANS"
.sp
Here\(cqs what the above example will do\&.
...
...
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