change latest by present
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
df507e35a4
commit
e955ddc395
2 changed files with 10 additions and 5 deletions
|
|
@ -9,7 +9,9 @@
|
||||||
#- name: Install Microsoft GPG key
|
#- name: Install Microsoft GPG key
|
||||||
# command: rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
# command: rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
||||||
- name: Registering VisualStudio Code repository
|
- name: Registering VisualStudio Code repository
|
||||||
copy: src=yum-vscode.repo dest=/etc/yum.repos.d/vscode.repo owner=root group=root mode=0644
|
copy:
|
||||||
|
src: yum-vscode.repo
|
||||||
|
dest: /etc/yum.repos.d/vscode.repo
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
|
|
||||||
|
|
@ -6,5 +6,8 @@
|
||||||
include_tasks: add_repo_{{ ansible_os_family }}.yml
|
include_tasks: add_repo_{{ ansible_os_family }}.yml
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
package: name='{{ vscode_packages }}' state=latest update_cache=yes
|
package:
|
||||||
|
name: '{{ vscode_packages }}'
|
||||||
|
state: present
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue