Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{373:function(t,a,e){"use strict";e.r(a);var s=e(1),n=Object(s.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"ansible-runner"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#ansible-runner"}},[t._v("#")]),t._v(" Ansible Runner")]),t._v(" "),e("p",[t._v("Commandeer allows you to run Ansible repeatedly, consistently, and conveniently. All from its desktop GUI.")]),t._v(" "),e("h2",{attrs:{id:"choose-playbook-file"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#choose-playbook-file"}},[t._v("#")]),t._v(" Choose Playbook File")]),t._v(" "),e("p",[t._v("The first step is to choose your playbook file, usually named as "),e("code",[t._v("playbook.yml")]),t._v(".")]),t._v(" "),e("p",[e("img",{attrs:{src:"https://images.commandeer.be/_uploads/ansible-select-file.png",alt:"Choosing your playbook file in Commandeer",title:"Choosing your playbook file in Commandeer"}})]),t._v(" "),e("p",[t._v("Once the file is chosen, Commandeer intelligently applies a set of most common defaults and you're all set to run your Ansible project. Here is an example of a typical "),e("code",[t._v("playbook.yml")]),t._v(" file including multiple Ansible files.")]),t._v(" "),e("div",{staticClass:"language-yaml extra-class"},[e("pre",{pre:!0,attrs:{class:"language-yaml"}},[e("code",[e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("---")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("-")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("hosts")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" localhost\n "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("tasks")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("-")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("import_tasks")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" s3"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("-")]),t._v("buckets.yml\n "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("-")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("import_tasks")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" dynamo"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("-")]),t._v("tables.yml\n "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("-")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("import_tasks")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" cloud"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("-")]),t._v("front.yml\n")])])]),e("h2",{attrs:{id:"run-ansible"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#run-ansible"}},[t._v("#")]),t._v(" Run Ansible")]),t._v(" "),e("p",[t._v("Click on the run button to start the run. The terminal output will show up on the right-hand side. Once the run is finished, you'll see the results of the run right above the output.")]),t._v(" "),e("p",[e("img",{attrs:{src:"https://images.commandeer.be/_uploads/ansible-run-2.png",alt:"Commandeer ran with the Car Dynamo table created",title:"Commandeer ran with the Car Dynamo table created"}})]),t._v(" "),e("h2",{attrs:{id:"edit-files"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#edit-files"}},[t._v("#")]),t._v(" Edit Files")]),t._v(" "),e("p",[t._v("Once the file is chosen, you'll see your project folder in the side navigation. Clicking on a file in the side navigation opens the content in the file editor pane. You can make any modifications and save it at any time.")]),t._v(" "),e("p",[e("img",{attrs:{src:"https://images.commandeer.be/_uploads/ansible-code-2.png",alt:"Editing the playbook file in Commandeer",title:"Editing the playbook file in Commandeer"}})]),t._v(" "),e("h2",{attrs:{id:"share-code"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#share-code"}},[t._v("#")]),t._v(" Share Code")]),t._v(" "),e("p",[t._v("Clicking on the share button brings up a dialog allowing you to share your Ansible code over email, Slack, or SMS. You can also copy the code to your clipboard by clicking the "),e("code",[t._v("Copy to Clipboard")]),t._v(" button.")]),t._v(" "),e("p",[e("img",{attrs:{src:"https://images.commandeer.be/_uploads/ansible-share.png",alt:"Emaling your Ansible file to your colleague",title:"Emaling your Ansible file to your colleague"}})]),t._v(" "),e("h2",{attrs:{id:"edit-variables"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#edit-variables"}},[t._v("#")]),t._v(" Edit Variables")]),t._v(" "),e("p",[t._v("Ansible lets you define some custom variables in your templates. You can use the variables to customize your templates. Here is an example of using a custom variable to customize the name of the Car DynamoDB table for your environment:")]),t._v(" "),e("div",{staticClass:"language-yaml extra-class"},[e("pre",{pre:!0,attrs:{class:"language-yaml"}},[e("code",[e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("---")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("-")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("hosts")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" localhost\n "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("remote_user")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" bob\n "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("tasks")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("-")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("name")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" Create the Car table\n "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("dynamodb_table")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("name")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" Car"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("-")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" environment "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("# <-- your custom variable here")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("hash_key_name")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" id\n "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("hash_key_type")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" STRING\n "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("read_capacity")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token key atrule"}},[t._v("write_capacity")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),t._v("\n")])])]),e("p",[t._v("Commandeer allows you to add, remove, and edit your Ansible variables from the settings panel.")]),t._v(" "),e("p",[e("img",{attrs:{src:"https://images.commandeer.be/_uploads/ansible-settings.png",alt:"Editing an Ansible variable in Commandeer",title:"Editing an Ansible variable in Commandeer"}})]),t._v(" "),e("h2",{attrs:{id:"copy-command"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#copy-command"}},[t._v("#")]),t._v(" Copy Command")]),t._v(" "),e("p",[t._v("You can copy the command for your run from the "),e("code",[t._v("Terminal Command")]),t._v(" panel. Commandeer generates the command based on your settings and your selected account.")]),t._v(" "),e("h2",{attrs:{id:"conclusion"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#conclusion"}},[t._v("#")]),t._v(" Conclusion")]),t._v(" "),e("p",[t._v("Ansible is a great tool to have under your toolbelt. Once your configuration is written, you can run it against any environment including local. Commandeer helps you to be more productive with writing and running your Ansible configuration against different environments. It gets you up and running with Ansible quickly so you can start developing and running your Ansible scripts in no time.")])])}),[],!1,null,null,null);a.default=n.exports}}]);