The simple automation solution
Ansible is the simplest solution for automating applications, complete systems and your IT infrastructure. Ansible makes daily tasks in your Unix and Linux environments a breeze. Every problem has to be solved only once and then rolled out as a playbook on many systems.
Powerful workflow configuration
All configuration information is collected in so-called Ansible Playbooks in an easy to understand description language and rolled out to hosts stored in the host inventory. For this purpose, only a connection to the systems to be configured is necessary and you’re ready to go.
Ansible works in push mode and requires no further installation on the individual systems besides SSH and Python. So you can get started without further preparation with Ansible, as the control of a simple workstation is sufficient.
--- - hosts: webservers vars: http_port: 80 max_clients: 200 remote_user: root tasks: - name: ensure apache is at the latest version yum: name: httpd state: latest - name: write the apache config file template: src: /srv/httpd.j2 dest: /etc/httpd.conf notify: - restart apache - name: ensure apache is running service: name: httpd state: started handlers: - name: restart apache service: name: httpd state: restarted
Integration into Foreman
Foreman – the lifecycle management tool for physical and virtual servers. The “Foreman” is an open source project that supports administrators in managing their systems throughout their entire lifecycle, from provisioning and configuration to orchestration and monitoring.
Articles from our Blog
The last time I wrote about Ansible and the possibility to use blocks to group multiple tasks. Which you can read here. Sadly this feature does not work with loop, so there is no clean way to loop over multiple tasks in a play without writing the same loop statement...
Immer wieder kommt es vor, dass ich in größeren Ansible-Umgebungen arbeite. Diese enthalten eine Vielzahl von verschiedenen Gruppen im Inventory, die sich auch mal aus anderen Host-Gruppen zusammen setzen. Da ist es nicht immer leicht den Überblick zu behalten. Da...