Intellij open directory with ansible playbook scripts/yaml files as project





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















I want to open a directory as a project in Intellij. The directory contains automation/ansible scripts (yaml/sh/etc) files. Tried to search for solution but with no result. How can I do this in IntelliJ?










share|improve this question























  • Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.

    – CrazyCoder
    Aug 16 '18 at 20:49




















1















I want to open a directory as a project in Intellij. The directory contains automation/ansible scripts (yaml/sh/etc) files. Tried to search for solution but with no result. How can I do this in IntelliJ?










share|improve this question























  • Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.

    – CrazyCoder
    Aug 16 '18 at 20:49
















1












1








1








I want to open a directory as a project in Intellij. The directory contains automation/ansible scripts (yaml/sh/etc) files. Tried to search for solution but with no result. How can I do this in IntelliJ?










share|improve this question














I want to open a directory as a project in Intellij. The directory contains automation/ansible scripts (yaml/sh/etc) files. Tried to search for solution but with no result. How can I do this in IntelliJ?







intellij-idea intellij-plugin






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 16 '18 at 17:53









alltejalltej

2,94321640




2,94321640













  • Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.

    – CrazyCoder
    Aug 16 '18 at 20:49





















  • Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.

    – CrazyCoder
    Aug 16 '18 at 20:49



















Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.

– CrazyCoder
Aug 16 '18 at 20:49







Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.

– CrazyCoder
Aug 16 '18 at 20:49














2 Answers
2






active

oldest

votes


















1














On Mac OS, do



$ cd /path/to/the/project/root/directory
$ open -a 'IntelliJ IDEA 2018.2' &


Project will be automatically created.






share|improve this answer































    0














    The following steps works for me. I am using Ultimate 2018.2 with YAML/Ansible support plugin installed.





    1. File>New>Project from Existing Sources or if adding as a module in existing project(s) File>New>Module from Existing Sources, then select the folder that contains the scripts.

    2. In next window, select the Create project from existing sources option. The click Next in succeeding windows then Finish.






    share|improve this answer
























      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51882774%2fintellij-open-directory-with-ansible-playbook-scripts-yaml-files-as-project%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      On Mac OS, do



      $ cd /path/to/the/project/root/directory
      $ open -a 'IntelliJ IDEA 2018.2' &


      Project will be automatically created.






      share|improve this answer




























        1














        On Mac OS, do



        $ cd /path/to/the/project/root/directory
        $ open -a 'IntelliJ IDEA 2018.2' &


        Project will be automatically created.






        share|improve this answer


























          1












          1








          1







          On Mac OS, do



          $ cd /path/to/the/project/root/directory
          $ open -a 'IntelliJ IDEA 2018.2' &


          Project will be automatically created.






          share|improve this answer













          On Mac OS, do



          $ cd /path/to/the/project/root/directory
          $ open -a 'IntelliJ IDEA 2018.2' &


          Project will be automatically created.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 17 '18 at 2:49









          user674669user674669

          2,61252443




          2,61252443

























              0














              The following steps works for me. I am using Ultimate 2018.2 with YAML/Ansible support plugin installed.





              1. File>New>Project from Existing Sources or if adding as a module in existing project(s) File>New>Module from Existing Sources, then select the folder that contains the scripts.

              2. In next window, select the Create project from existing sources option. The click Next in succeeding windows then Finish.






              share|improve this answer




























                0














                The following steps works for me. I am using Ultimate 2018.2 with YAML/Ansible support plugin installed.





                1. File>New>Project from Existing Sources or if adding as a module in existing project(s) File>New>Module from Existing Sources, then select the folder that contains the scripts.

                2. In next window, select the Create project from existing sources option. The click Next in succeeding windows then Finish.






                share|improve this answer


























                  0












                  0








                  0







                  The following steps works for me. I am using Ultimate 2018.2 with YAML/Ansible support plugin installed.





                  1. File>New>Project from Existing Sources or if adding as a module in existing project(s) File>New>Module from Existing Sources, then select the folder that contains the scripts.

                  2. In next window, select the Create project from existing sources option. The click Next in succeeding windows then Finish.






                  share|improve this answer













                  The following steps works for me. I am using Ultimate 2018.2 with YAML/Ansible support plugin installed.





                  1. File>New>Project from Existing Sources or if adding as a module in existing project(s) File>New>Module from Existing Sources, then select the folder that contains the scripts.

                  2. In next window, select the Create project from existing sources option. The click Next in succeeding windows then Finish.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 20 '18 at 13:05









                  alltejalltej

                  2,94321640




                  2,94321640






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51882774%2fintellij-open-directory-with-ansible-playbook-scripts-yaml-files-as-project%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Bressuire

                      Vorschmack

                      Quarantine