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

Added Ansible modelines #247

Merged
merged 1 commit into from
Sep 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
# Visual Studio Code version number (defaults to the latest version)
visual_studio_code_version: ''
Expand Down
1 change: 1 addition & 0 deletions molecule/code-only/converge.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Converge
hosts: all
Expand Down
1 change: 1 addition & 0 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Converge
hosts: all
Expand Down
1 change: 1 addition & 0 deletions molecule/ubuntu-min-trusted-yes/converge.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Converge
hosts: all
Expand Down
1 change: 1 addition & 0 deletions molecule/ubuntu-min/converge.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Converge
hosts: all
Expand Down
1 change: 1 addition & 0 deletions tasks/install-apt.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Install dependencies (apt)
become: true
Expand Down
1 change: 1 addition & 0 deletions tasks/install-dnf.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Install dependencies (dnf)
become: true
Expand Down
1 change: 1 addition & 0 deletions tasks/install-extensions.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Install extensions
become: true
Expand Down
1 change: 1 addition & 0 deletions tasks/install-homebrew.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Install VS Code (brew-cask)
community.general.homebrew_cask:
Expand Down
1 change: 1 addition & 0 deletions tasks/install-yum.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Install dependencies (yum)
become: true
Expand Down
1 change: 1 addition & 0 deletions tasks/install-zypper.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Install dependencies (zypper)
become: true
Expand Down
1 change: 1 addition & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Assert supported distribution
ansible.builtin.assert:
Expand Down
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- import_tasks: install.yml

Expand Down
1 change: 1 addition & 0 deletions tasks/write-settings.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
- name: Create config directories for users
become: true
Expand Down
1 change: 1 addition & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# code: language=ansible
---
# The name of the directory where the config is stored for this build
visual_studio_code_config_dirname: "{{ (visual_studio_code_build == 'insiders') | ternary('Code - Insiders', 'Code') }}"
Expand Down