File tree Expand file tree Collapse file tree 3 files changed +56
-0
lines changed Expand file tree Collapse file tree 3 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ workflow "On push" {
2+ on = " push"
3+ resolves = [" ansible/ansible-lint-action@master" ]
4+ }
5+
6+ action "ansible/ansible-lint-action@master" {
7+ uses = " ansible/ansible-lint-action@master"
8+ env = {
9+ ACTION_PLAYBOOK_NAME = " ansible/install-apps.yml"
10+ }
11+ }
12+
13+ workflow "On PR" {
14+ on = " pull_request"
15+ resolves = [" ansible/ansible-lint-action@master" ]
16+ }
Original file line number Diff line number Diff line change 1+ ---
2+ - name : Install OS-level apps
3+ hosts : all
4+ become : yes
5+ tasks :
6+ - name : Add Google Chrome key
7+ apt_key :
8+ url : https://dl-ssl.google.com/linux/linux_signing_key.pub
9+ state : present
10+ - name : Add Google Chrome directory
11+ apt_repository :
12+ repo : " {{ item }}"
13+ state : present
14+ loop :
15+ - deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
16+ - deb http://dl.google.com/linux/chrome/deb/ stable main
17+ - name : Add Microsoft key
18+ apt_key :
19+ url : https://packages.microsoft.com/keys/microsoft.asc
20+ state : present
21+ - name : Add vscode directory
22+ apt_repository :
23+ repo : " deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
24+ state : present
25+ - name : Install vscode depts
26+ apt :
27+ update_cache : yes
28+ name :
29+ - software-properties-common
30+ - apt-transport-https
31+ - name : Install apps
32+ apt :
33+ update_cache : yes
34+ name :
35+ - google-chrome-stable
36+ - git
37+ - code
Original file line number Diff line number Diff line change 1+ [dev-machines]
2+
3+ localhost ansible_connection=local
You can’t perform that action at this time.
0 commit comments