diff --git a/console.yml b/console.yml index b6ba266..51d5980 100644 --- a/console.yml +++ b/console.yml @@ -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 diff --git a/inventories/host_vars/console.yml b/inventories/host_vars/console.yml index f285802..0299fde 100644 --- a/inventories/host_vars/console.yml +++ b/inventories/host_vars/console.yml @@ -7,6 +7,7 @@ apt: - gimp - git - golang + - google-chrome-stable - gpgv2 - gprename - heif-thumbnailer diff --git a/tasks/console/apt.yml b/tasks/console/apt.yml index e2ede98..b667239 100644 --- a/tasks/console/apt.yml +++ b/tasks/console/apt.yml @@ -1,5 +1,6 @@ - name: Install Console modules ansible.builtin.apt: + update_cache: yes pkg: "{{ item }}" loop: "{{ apt }}" diff --git a/tasks/console/chrome_repo.yml b/tasks/console/chrome_repo.yml new file mode 100644 index 0000000..736dd74 --- /dev/null +++ b/tasks/console/chrome_repo.yml @@ -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