Both sides previous revision Previous revision Next revision | Previous revision |
redhat:other-redhat:ansible:start [2017/09/18 14:11] – [Weitere nützliche Links] 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'' |