Docs rebuild
This commit is contained in:
parent
928095c623
commit
c0b4c80ba1
2 changed files with 2 additions and 24 deletions
|
@ -174,6 +174,6 @@ Ansible was originally written by Michael DeHaan\&. See the AUTHORS file for a c
|
||||||
.sp
|
.sp
|
||||||
\fBansible\fR(1)
|
\fBansible\fR(1)
|
||||||
.sp
|
.sp
|
||||||
\fBansible\-playbook\fR(5) \- pending
|
\fBansible\-playbook\fR(5)
|
||||||
.sp
|
.sp
|
||||||
Ansible home page: https://github\&.com/mpdehaan/ansible/
|
Ansible home page: https://github\&.com/mpdehaan/ansible/
|
||||||
|
|
|
@ -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\&.
|
Playbooks are currently writeable in YAML\&. Other formats (JSON?) may be supported in the future\&.
|
||||||
.SH "EXAMPLE"
|
.SH "EXAMPLE"
|
||||||
.sp
|
.sp
|
||||||
.if n \{\
|
see https://github\&.com/mpdehaan/ansible/blob/master/examples/playbook\&.yml
|
||||||
.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
|
|
||||||
.\}
|
|
||||||
.SH "WHAT THE EXAMPLE MEANS"
|
.SH "WHAT THE EXAMPLE MEANS"
|
||||||
.sp
|
.sp
|
||||||
Here\(cqs what the above example will do\&.
|
Here\(cqs what the above example will do\&.
|
||||||
|
|
Loading…
Reference in a new issue