egdoc.google_chrome

Ansible角色:google_chrome

Ansible角色用于在Linux上安装Google Chrome。

需求

为了避免使用命令或shell模块并破坏幂等性,此角色在Debian系统中将gpg密钥下载到/usr/share/keyrings/而不进行解密。这个格式的密钥只能在版本1.4或更高的SecureApt中使用(该版本在stretch中出现),具体参见这里。

角色变量

google_chrome_state: present

google-chrome包的状态。

google_chrome_gpg_key_url: https://dl.google.com/linux/linux_signing_key.pub
google_chrome_gpg_key_fingerprint: 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991

Google Chrome的gpg密钥URL和指纹。

google_chrome_rpm_repository_url: https://dl.google.com/linux/chrome/rpm/stable/x86_64
google_chrome_apt_repository_url: deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.asc] https://dl.google.com/linux/chrome/deb/ stable main

Google Chrome的apt和rpm仓库URL。

依赖

示例剧本

- hosts: all
  roles:
     - role: egdoc.google_chrome

许可证

GPL-2.0

作者信息

角色由Egidio Docile创建

关于项目

Ansible role to install Google Chrome on Linux

安装
ansible-galaxy install egdoc.google_chrome
许可证
Unknown
下载
237
拥有者