Skip to content

Commit

Permalink
Added Ansible modelines (#247)
Browse files Browse the repository at this point in the history
For improved VS Code editing support.
  • Loading branch information
freemanjp authored Sep 3, 2023
1 parent 73f5c61 commit ab2c650
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
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

0 comments on commit ab2c650

Please sign in to comment.