Both sides previous revision Previous revision Next revision | Previous revision |
redhat:other-redhat:ansible:start [2017/08/28 16:14] – michael | redhat:other-redhat:ansible:start [2020/05/13 15:01] (current) – [Next, we have a set of tasks:] michael |
---|
</code> | </code> |
| |
This module allows us to specify a package and the state that it should be in, which is "installed" in our case. The ''update-cache=true'' part tells our remote machine to update its package cache //(apt-get update)// prior to installing the software. | This module allows us to specify a package and the state that it should be in, which is "installed" in our case. The ''update_cache=true'' part tells our remote machine to update its package cache //(apt-get update)// prior to installing the software. |
| |
The "**notify**" item contains a list with one item, which is called "start nginx". This is not an internal Ansible command, it is a reference to a handler, which can perform certain functions when it is called from within a task. //We will define the "start nginx" handler below.// | The "**notify**" item contains a list with one item, which is called "start nginx". This is not an internal Ansible command, it is a reference to a handler, which can perform certain functions when it is called from within a task. //We will define the "start nginx" handler below.// |
<WRAP center round download 100%> | <WRAP center round download 100%> |
==== Fertige Playbooks zum Download ==== | ==== Fertige Playbooks zum Download ==== |
Unter dem unten aufgeführten Link, werden von Ansible unteranderem bereits fertige Playbooks, zu folgenden Themen zum Download angeboten: -> ''[[https://github.com/ansible/ansible-examples/tree/master/jboss-standalone|jboss-standolone]]'', ''[[https://github.com/ansible/ansible-examples/tree/master/lamp_simple_rhel7|lamp_simple_rhel7]]'', ''[[https://github.com/ansible/ansible-examples/tree/master/mongodb|mongodb]]'', ''[[https://github.com/ansible/ansible-examples/tree/master/mongodb|tomcat-standalone]]'', ''[[https://github.com/ansible/ansible-examples/tree/master/wordpress-nginx_rhel7|wordpress-nginx-rhel7]]'' und viele mehr. | ''Unter dem unten aufgeführten Link, werden von Ansible unteranderem bereits fertige Playbooks, zu folgenden Themen zum Download angeboten:'' -> ''[[https://github.com/ansible/ansible-examples/tree/master/jboss-standalone|jboss-standolone]]'', ''[[https://github.com/ansible/ansible-examples/tree/master/lamp_simple_rhel7|lamp_simple_rhel7]]'', ''[[https://github.com/ansible/ansible-examples/tree/master/mongodb|mongodb]]'', ''[[https://github.com/ansible/ansible-examples/tree/master/mongodb|tomcat-standalone]]'', ''[[https://github.com/ansible/ansible-examples/tree/master/wordpress-nginx_rhel7|wordpress-nginx-rhel7]] und viele mehr.'' |
| |
* ''GitHub Link -> https://github.com/ansible/ansible-examples'' | * ''GitHub Link -> https://github.com/ansible/ansible-examples'' |
* https://nsrc.org/workshops/2015/rwnog/raw-attachment/wiki/Track2Agenda/first-playbook.htm | * https://nsrc.org/workshops/2015/rwnog/raw-attachment/wiki/Track2Agenda/first-playbook.htm |
* https://cloudacademy.com/blog/building-ansible-playbooks-step-by-step/ | * https://cloudacademy.com/blog/building-ansible-playbooks-step-by-step/ |
| * https://www.tecmint.com/install-and-configure-ansible-automation-tool-in-linux/ |
| |
---- | ---- |
* [[http://docs.ansible.com/ansible/list_of_web_infrastructure_modules.html|Web Infrastructure Modules]] | * [[http://docs.ansible.com/ansible/list_of_web_infrastructure_modules.html|Web Infrastructure Modules]] |
* [[http://docs.ansible.com/ansible/list_of_windows_modules.html|Windows Modules]] | * [[http://docs.ansible.com/ansible/list_of_windows_modules.html|Windows Modules]] |
| |
| |
| |
| |
| |
---- | ---- |
| |
| |
| |
| |
| |
===== Weiteres ===== | ===== Weiteres ===== |