{"id":20770,"date":"2025-09-09T16:29:33","date_gmt":"2025-09-09T22:29:33","guid":{"rendered":"https:\/\/sada.services\/?p=20770"},"modified":"2025-09-09T16:29:33","modified_gmt":"2025-09-09T22:29:33","slug":"ansible-sigesa-playbook-reinicio-de-servicio","status":"publish","type":"post","link":"https:\/\/sada.services\/?p=20770","title":{"rendered":"ANSIBLE-SIGESA: Playbook: Reinicio de Servicio"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>Requisitos<\/li>\n\n\n\n<li>Primero se debe ejecutar esta guia <a href=\"https:\/\/sada.services\/?p=20753\">https:\/\/sada.services\/?p=20753<\/a><\/li>\n\n\n\n<li>para tener las llaves y directorios requeridos<\/li>\n\n\n\n<li>Primero para que el servidor envie correo hacemos<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update\napt install postfix mailutils -y<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"826\" height=\"659\" src=\"https:\/\/sada.services\/wp-content\/uploads\/2025\/09\/Seleccion_1225.png\" alt=\"\" class=\"wp-image-20771\" srcset=\"https:\/\/sada.services\/wp-content\/uploads\/2025\/09\/Seleccion_1225.png 826w, https:\/\/sada.services\/wp-content\/uploads\/2025\/09\/Seleccion_1225-300x239.png 300w, https:\/\/sada.services\/wp-content\/uploads\/2025\/09\/Seleccion_1225-768x613.png 768w\" sizes=\"(max-width: 826px) 100vw, 826px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"900\" height=\"427\" src=\"https:\/\/sada.services\/wp-content\/uploads\/2025\/09\/Seleccion_1226.png\" alt=\"\" class=\"wp-image-20772\" srcset=\"https:\/\/sada.services\/wp-content\/uploads\/2025\/09\/Seleccion_1226.png 900w, https:\/\/sada.services\/wp-content\/uploads\/2025\/09\/Seleccion_1226-300x142.png 300w, https:\/\/sada.services\/wp-content\/uploads\/2025\/09\/Seleccion_1226-768x364.png 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Probamos<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"Hola, esto es una prueba\" | mail -s \"Prueba Ansible\" gustavo.matamoros@gmail.com<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Creamos el archivo<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>nano sigesa\/playbooks\/playbook_sigesa_produccion_reinicio_tomcat.yaml<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-20770","post","type-post","status-publish","format-standard","hentry","category-sin-categoria"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/20770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20770"}],"version-history":[{"count":1,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/20770\/revisions"}],"predecessor-version":[{"id":20774,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/20770\/revisions\/20774"}],"wp:attachment":[{"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}