Skip to content

Commit

Permalink
Merge pull request #92 from cradle8810/89_console_chrome
Browse files Browse the repository at this point in the history
Google Chrome用のリポジトリ追加とapt追加
  • Loading branch information
cradle8810 authored Apr 25, 2024
2 parents 1aae804 + 68c7e08 commit 029f33f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
ansible.builtin.import_tasks:
file: tasks/console/firewall.yml

- name: Apt add Google Chrome Repo
ansible.builtin.import_tasks:
file: tasks/console/chrome_repo.yml

- name: Apt install
ansible.builtin.import_tasks:
file: tasks/console/apt.yml
Expand Down
1 change: 1 addition & 0 deletions inventories/host_vars/console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ apt:
- gimp
- git
- golang
- google-chrome-stable
- gpgv2
- gprename
- heif-thumbnailer
Expand Down
1 change: 1 addition & 0 deletions tasks/console/apt.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- name: Install Console modules
ansible.builtin.apt:
update_cache: true
pkg:
"{{ item }}"
loop: "{{ apt }}"
5 changes: 5 additions & 0 deletions tasks/console/chrome_repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- name: Add Chrome Repos
ansible.builtin.apt_repository:
repo: deb http://dl.google.com/linux/chrome/deb/ stable main
state: present
filename: google-chrome

0 comments on commit 029f33f

Please sign in to comment.