
上QQ阅读APP看书,第一时间看更新
Automating Simple Tasks
As mentioned in the previous chapter, Ansible can be used to both create and manage a whole infrastructure, as well as be integrated into an infrastructure that is already working.
In this chapter, we will cover the following topics:
- YAML
- Working with Playbook
- Ansible velocity
- Variables in Playbook
- Creating the Ansible User
- Configuring a basic server
- Installing and configuring a web server
- Publishing a website
- Jinja2 templates
First, we will talk about YAML Ain't Markup Language (YAML), a human-readable data serialization language that is widely used in Ansible.