{"id":54681,"date":"2020-04-01T10:52:40","date_gmt":"2020-04-01T15:52:40","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=54681"},"modified":"2023-09-06T09:56:48","modified_gmt":"2023-09-06T13:56:48","slug":"wordpress-ultrastack-ansible-playbook","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/","title":{"rendered":"WordPress UltraStack Ansible Playbook Tutorial"},"content":{"rendered":"\n<p>As we start to expand on our <a href=\"https:\/\/www.inmotionhosting.com\/ansible\">Ansible<\/a> Catalog, we are excited to provide our Ansible Playbook for deploying WordPress to the Open Source community! We have taken great care in developing our curated <a rel=\"noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/github.com\/inmotionhosting\/wordpress-ultrastack-ansible\" target=\"_blank\">WordPress-UltraStack-Ansible<\/a> playbook to allow system administrators, web developers, and content designers to easily deploy WordPress.<\/p>\n\n\n\n<p>To simplify the process of getting started, we recommend that users are familiar with Git and OpenSSH before proceeding.<\/p>\n\n\n\n<p>Below we cover how to run the WordPress UltraStack Ansible Playbook from your <a href=\"#control-node\">Ansible Control Node<\/a>.<\/p>\n\n\n\n<p class=\"alert alert-info\">Don\u2019t have an InMotion Hosting server? Get started with one of our scalable <a href=\"https:\/\/www.inmotionhosting.com\/cloud-vps\">Cloud VPS<\/a> hosting plans today.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"control-node\">Run the WordPress UltraStack Playbook from an Ansible Control Node<\/h2>\n\n\n\n<p>Ansible in the Ansible Control Node is the easiest option. The <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/getting-started-ansible-control-node\/\">Ansible Control Node<\/a> comes with all needed dependencies to run Ansible, simplifying the process of getting started so you can reach your goals faster.<\/p>\n\n\n\n<p class=\"alert alert-info\">The below guide is the brief process to help you become familiar quickly. Our recommendation is to use Version Control Software and GitHub (or your preferred remote repo) for production setups. Learn more about <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/backup-and-version-control-ansible-playbook\/\">How to Backup and Version Control an Ansible Playbook<\/a>.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\">\n<li>Ensure you\u2019ve <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/getting-started-ansible-control-node\/#add\">added an SSH Key to your Ansible Control Node in AMP<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\">SSH into your Ansible Control Node<\/a><\/li>\n\n\n\n<li>From the current directory (\/home\/ansible), navigate to the WordPress UltraStack Ansible Playbook: <pre>cd wordpress-ultrastack-ansible<\/pre><\/li>\n\n\n\n<li>Copy the sample inventory.yml file to a new file: <pre>cp inventory.sample.yml inventory.yml<\/pre><\/li>\n\n\n\n<li>Edit inventory.yml in your preferred text editor: <pre>nano inventory.yml<\/pre><\/li>\n\n\n\n<li>In the new inventory.yml file, you will need to edit the placeholder values. At minimum, you will need to change the references to <code>domain.tld:<\/code> under <em>hosts<\/em><br><br>If you are evaluating the playbook, you may use sed as demonstrated below to trivially replace the placeholder domain with a domain name that you actually own and is pointing to the host you want to deploy to: <pre>sed -i 's\/domain.tld\/your-actual-domain.tld\/g' inventory.yml<\/pre><\/li>\n\n\n\n<li>From the Ansible Control Node, <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-generate-ssh-keys\/\">create an SSH key<\/a>.<\/li>\n\n\n\n<li>Using our <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manage-ssh-keys\/\"><strong>Manage My SSH Keys<\/strong> guide<\/a>, install the public key you created on the Ansible Control Node to any <a href=\"https:\/\/www.inmotionhosting.com\/cloud-vps\">Cloud Server<\/a> or <a href=\"https:\/\/www.inmotionhosting.com\/bare-metal-servers\">Bare Metal Dedicated Server<\/a> you want to manage with Ansible.<\/li>\n\n\n\n<li>On your Ansible Control Node, run the WordPress UltraStack Ansible Playbook: <pre>ansible-playbook -i inventory.yml site.deploy.yml<\/pre><\/li>\n\n\n\n<li>After your WordPress UltraStack Ansible Playbook runs successfully, visit the domain to see your new WordPress website.<\/li>\n<\/ol>\n\n\n\n<p class=\"alert alert-info\">If you have issues at any time, feel free to ask a question in our <a href=\"https:\/\/www.inmotionhosting.com\/support\/questions\/\">Community Support Center<\/a> or, for paid support, contact our <a href=\"https:\/\/www.inmotionhosting.com\/managed-hosting\">Managed Hosting team<\/a>.<\/p>\n\n\n\n<p>Now that you understand Ansible and your Ansible Control Node, we recommend you learn how to <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/backup-and-version-control-ansible-playbook\/\">use Git for Backup and Version Control<\/a>. Or if you&#8217;re already familiar with Git, learn about using the <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/getting-started-with-ansible-galaxy\/\">Ansible Galaxy community<\/a> to find pre-built playbooks for hundreds of popular software deployments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we start to expand on our Ansible Catalog, we are excited to provide our Ansible Playbook for deploying WordPress to the Open Source community! We have taken great care in developing our curated WordPress-UltraStack-Ansible playbook to allow system administrators, web developers, and content designers to easily deploy WordPress. To simplify the process of getting<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4349],"tags":[],"class_list":["post-54681","post","type-post","status-publish","format-standard","hentry","category-ansible"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WordPress UltraStack Ansible Playbook Tutorial | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn how to get started with the WordPress UltraStack Playbook by InMotion Hosting on your Ansible Control Node or local machine.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress UltraStack Ansible Playbook Tutorial | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn how to get started with the WordPress UltraStack Playbook by InMotion Hosting on your Ansible Control Node or local machine.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-01T15:52:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-06T13:56:48+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"WordPress UltraStack Ansible Playbook Tutorial\",\"datePublished\":\"2020-04-01T15:52:40+00:00\",\"dateModified\":\"2023-09-06T13:56:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/\"},\"wordCount\":456,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Ansible Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/\",\"name\":\"WordPress UltraStack Ansible Playbook Tutorial | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2020-04-01T15:52:40+00:00\",\"dateModified\":\"2023-09-06T13:56:48+00:00\",\"description\":\"Learn how to get started with the WordPress UltraStack Playbook by InMotion Hosting on your Ansible Control Node or local machine.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress UltraStack Ansible Playbook Tutorial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WordPress UltraStack Ansible Playbook Tutorial | InMotion Hosting","description":"Learn how to get started with the WordPress UltraStack Playbook by InMotion Hosting on your Ansible Control Node or local machine.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/","og_locale":"en_US","og_type":"article","og_title":"WordPress UltraStack Ansible Playbook Tutorial | InMotion Hosting","og_description":"Learn how to get started with the WordPress UltraStack Playbook by InMotion Hosting on your Ansible Control Node or local machine.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2020-04-01T15:52:40+00:00","article_modified_time":"2023-09-06T13:56:48+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"WordPress UltraStack Ansible Playbook Tutorial","datePublished":"2020-04-01T15:52:40+00:00","dateModified":"2023-09-06T13:56:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/"},"wordCount":456,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Ansible Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/","name":"WordPress UltraStack Ansible Playbook Tutorial | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2020-04-01T15:52:40+00:00","dateModified":"2023-09-06T13:56:48+00:00","description":"Learn how to get started with the WordPress UltraStack Playbook by InMotion Hosting on your Ansible Control Node or local machine.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/wordpress-ultrastack-ansible-playbook\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"WordPress UltraStack Ansible Playbook Tutorial"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4349,"name":"Ansible Tutorials","slug":"ansible","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/ansible\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/54681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=54681"}],"version-history":[{"count":27,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/54681\/revisions"}],"predecessor-version":[{"id":106301,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/54681\/revisions\/106301"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=54681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=54681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=54681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}