Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add setting options for execution environment #200

Merged
merged 6 commits into from
Sep 30, 2021

Conversation

ganeshrn
Copy link
Member

  • Add setting in package.json file to configure execution
    environment related setting.
    Example client settings.json for EE options (default)
    {
     "ansible.executionEnvironment.enabled": false,
     "ansible.executionEnvironment.image": "quay.io/ansible/ansible-navigator-demo-ee:0.6.0",
     "ansible.executionEnvironment.containerEngine": "auto",
     "ansible.executionEnvironment.pullPolicy: "missing"  
    }
    

Related to ansible-langauge-server PR ansible/ansible-language-server#42

Copy link
Contributor

@tomaciazek tomaciazek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something strange happened here:

  • ansible.ansibleLint.path got moved down without apparent reason
  • ansible.python.interpreterPath and ansible.python.activationScript got thrown entirely out of properties and are now children of configuration

@ganeshrn
Copy link
Member Author

@tomaciazek Good catch. Last-minute unintended edit before commit messed up the order. Have fixed your review comment now. Thank you!

package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
*  Add support for execution environment
*  Add setting in package.json file to configure execution
   environment related setting.
   Example client `settings.json` for EE options (default)
   ```
   {
    "ansible.executionEnvironment.enabled": false,
    "ansible.executionEnvironment.image": "quay.io/ansible/ansible-navigator-demo-ee:0.6.0",
    "ansible.executionEnvironment.containerEngine": "auto",
    "ansible.executionEnvironment.pullPolicy: "missing"
   }
   ```

   Related to ansible-langauge-server PR ansible/ansible-language-server#42
@ganeshrn ganeshrn merged commit af7487a into ansible:main Sep 30, 2021
@ssbarnea ssbarnea added the feature New feature or request label Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants