presentations/src/archive/deploying-php-ansible-ansistrano/sections/about-ansible.rst
Oliver Davies 4de38d0276 Remove instances of .. page::
Replace instances of `.. page::` with:

```rst
.. raw:: pdf

    PageBreak
```

This reduces my usage on the `preprocess` functionality I'd like to
remove.

This was done by executing this command:

```
find src -type f -name '*.rst' \
  -exec sed -Ei 's/.. page::$/.. raw:: pdf\n\n    PageBreak/g' {} \;
```
2024-05-10 22:37:50 +02:00

50 lines
1.2 KiB
ReStructuredText

.. page:: standardPage
What is Ansible?
================
.. class:: text-lg
Ansible is an open-source **software provisioning**, **configuration management**, and **application-deployment** tool.
|
https://en.wikipedia.org/wiki/Ansible_(software)
.. raw:: pdf
PageBreak
What is Ansible?
================
- CLI tool
- Configured with YAML
- Agentless, connects via SSH
- Jinja2 for templating
- Executes ad-hoc remote commands
- Installs software packages
- Performs deployment steps
- Batteries included
.. raw:: pdf
TextAnnotation "- Written in Python but configured with Yaml."
TextAnnotation "Drupal, Symfony and a lot of other projects use YAML."
TextAnnotation "Nothing needed on the server, other than Python."
TextAnnotation "First-party modules (SSH keys, file and directory management, package repositories, stopping/starting/restarting services, DO/Linode/AWS integration)."
.. raw:: pdf
PageBreak
Why Ansible?
============
- Familiar syntax (Drupal 8, Symfony, Sculpin)
- Easily readable
- No server dependencies
- Easy to add to an existing project
- Includes relevant modules (Git, Composer)
- Idempotency, resulting in cleaner scripts