{"id":4235,"date":"2023-04-25T12:02:20","date_gmt":"2023-04-25T18:02:20","guid":{"rendered":"https:\/\/www.supportpro.com\/blog\/?p=4235"},"modified":"2025-03-13T00:11:20","modified_gmt":"2025-03-13T06:11:20","slug":"ansistrano-what-and-why","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/ansistrano-what-and-why\/","title":{"rendered":"Ansistrano &#8211; What and Why?"},"content":{"rendered":"\n<p><a href=\"https:\/\/ansistrano.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Ansistrano<\/a> is one among several Ansible Galaxy roles for simply managing deployment requirements of scripting applications like PHP, Python, and Ruby. It is in real Ansible added to Capistrano or in other words a modification of Capistrano. Ansible Galaxy is the website where users can take, manage and share roles. It also provides a command-line interface for working on roles for the user.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/1-1-1.png\" data-rel=\"penci-gallery-image-content\" ><img fetchpriority=\"high\" decoding=\"async\" width=\"892\" height=\"320\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/1-1-1.png\" alt=\"\" class=\"wp-image-4242\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/1-1-1.png 892w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/1-1-1-300x108.png 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/1-1-1-768x276.png 768w\" sizes=\"(max-width: 892px) 100vw, 892px\" \/><\/a><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Why Ansistrano?<\/strong><\/h2>\n\n\n\n<p>Ansistrano, an <a href=\"https:\/\/www.supportpro.com\/blog\/ansible\/\">Ansible<\/a> role globally distributed through Ansible Galaxy. Deployment processes in scripting could be easily managed using &#8216;ansistrano.deploy&#8217; and &#8216;ansistrano.rollback&#8217;, which are examples of Ansible roles. A similar role called Capistrano was designed to deploy RoR applications from a remote server to perform automation tools. Ansible\u2019s goals square measure foremost those of simplicity and most easily use. However, Capistrano lacks the simple way to manage large infrastructure for deployment targets and if the infrastructure is dynamically working.<\/p>\n\n\n\n<p>To sort out, the developers of Ansistrano implemented Ansible which is capable of deploying large infrastructure with its inventory management options and high application deployments. Appending with this, to hold the existing features of Capistrano, the dev world created the tool we&#8217;re covering today, Ansistrano!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/1-4.png\" data-rel=\"penci-gallery-image-content\" ><img decoding=\"async\" width=\"660\" height=\"426\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/1-4.png\" alt=\"\" class=\"wp-image-4241\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/1-4.png 660w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/1-4-300x194.png 300w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/a><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>Ansistrano<\/strong> <strong>Uses<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Rollback in seconds (using the role of ansistrano.rollback).<\/li><li>Setting up a deployment procedure using the event handler&#8217;s post and precritical steps.<\/li><li>Optimizing disk space usage by storing a limited number of releases.<\/li><li>Options to choose within SYNC, SCP, GIT, SVN, HTTP Download or S3 GET deployment strategies (in addition, unarchive use is possible).<\/li><\/ul>\n\n\n\n<p>Thus once your website is built, and ready to deploy, you got many ways to carry out this spanning from (S)FTP, SCP to rsync etc directly on the server. Also, Ansible can be used in provisioning and maintaining your server configuration and running commands by using suitable Ansible modules like Git, custom Ansible roles and so on to build a simple deployment playbook. This can be further extended by adding Ansistrano which provides additional options like saving multiple builds for projects separately and roll-back if needed, customize build steps, multi-stage environments etc.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/AnsibleAndCookie.width-1200-1-e1552920055593.png\" data-rel=\"penci-gallery-image-content\" ><img decoding=\"async\" width=\"1024\" height=\"415\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/AnsibleAndCookie.width-1200-1-e1552920055593-1024x415.png\" alt=\"\" class=\"wp-image-4237\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/AnsibleAndCookie.width-1200-1-e1552920055593-1024x415.png 1024w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/AnsibleAndCookie.width-1200-1-e1552920055593-300x122.png 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/AnsibleAndCookie.width-1200-1-e1552920055593-768x311.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2019\/09\/AnsibleAndCookie.width-1200-1-e1552920055593.png 1244w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center has-white-background-color has-background\"><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\">Partner with <strong>SupportPRO<\/strong> for 24\/7 proactive cloud support that keeps your business secure, scalable, and ahead of the curve.<\/p>\n\n\n\n<!--HubSpot Call-to-Action Code --><span class=\"hs-cta-wrapper\" id=\"hs-cta-wrapper-3350a795-db50-482f-9911-301930d1b1be\"><span class=\"hs-cta-node hs-cta-3350a795-db50-482f-9911-301930d1b1be\" id=\"hs-cta-3350a795-db50-482f-9911-301930d1b1be\"><!--[if lte IE 8]><div id=\"hs-cta-ie-element\"><\/div><![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/3350a795-db50-482f-9911-301930d1b1be\" ><img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-3350a795-db50-482f-9911-301930d1b1be\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/3350a795-db50-482f-9911-301930d1b1be.png\"  alt=\"Contact Us today!\"\/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '3350a795-db50-482f-9911-301930d1b1be', {\"useNewLoader\":\"true\",\"region\":\"na1\"}); <\/script><\/span><!-- end HubSpot Call-to-Action Code -->\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"931\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png\" alt=\"guy server checkup\" class=\"wp-image-12943 size-full\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png 904w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-291x300.png 291w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-768x791.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-585x602.png 585w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ansistrano is one among several Ansible Galaxy roles for simply managing deployment requirements of scripting applications like PHP, Python, and Ruby. It is in real Ansible added to Capistrano or&hellip;<\/p>\n","protected":false},"author":4,"featured_media":13172,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[81],"tags":[53,102],"class_list":["post-4235","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ansible","tag-cloud","tag-devops"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/4235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=4235"}],"version-history":[{"count":11,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/4235\/revisions"}],"predecessor-version":[{"id":13173,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/4235\/revisions\/13173"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media\/13172"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=4235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=4235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=4235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}