buluma.firefox

Ansible 角色 firefox

Firefox 安装。

GitHub 版本 问题 拉取请求 下载次数
github 版本 问题 拉取请求 Ansible 角色

示例剧本

这个示例来自于 molecule/default/converge.yml,并在每次推送、拉取请求和发布时进行测试。

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true
  roles:
    - role: buluma.firefox

需要准备机器。在 CI 中,使用 molecule/default/prepare.yml 来完成准备:

---
- name: Prepare
  hosts: all
  become: true
  gather_facts: false

  roles:
    - role: buluma.bootstrap
    - role: buluma.ca_certificates

另外,查看 完整说明和示例 以了解如何使用这些角色。

角色变量

变量的默认值在 defaults/main.yml 中设置:

---
# https://github.com/030/ansible-firefox
# https://ftp.mozilla.org/pub/firefox/releases/123.0/SHA512SUMS
firefox_checksum: sha512:9ab94d078ef9178e2b12ab8aa114eb6f84ea7c9b3055e552156764019a13aeb39fff91f9b402156c5c12b6053df14228bbffffe81199dc6ef967d21fb5a962ba  # yamllint disable-line rule:line-length
firefox_desktop_icon: false
firefox_home: /opt/firefox-{{ firefox_version }}
firefox_image_path: "firefox/browser/chrome/icons/default/default128.png"
firefox_logo: "{{ firefox_home }}/{{ firefox_image_path }}"
firefox_version: "123.0"

要求

使用状态

以下角色用于准备系统。你可以用其他方式准备你的系统。

需求 GitHub 版本
buluma.bootstrap Ansible Molecule 版本
buluma.ca_certificates Ansible Molecule 版本

背景

这个角色是许多兼容角色的一部分。请查看 这些角色的文档 以获取更多信息。

以下是相关角色的概述:

依赖关系

兼容性

此角色已在以下 容器镜像 上进行测试:

容器 标签
EL 7
Ubuntu 所有
Debian 所有
Fedora 所有

所需的最低 Ansible 版本为 2.12,测试已在以下版本上完成:

  • 前一个版本。
  • 当前版本。
  • 开发版本。

如果你发现问题,请在 GitHub 上登记。

变更日志

角色历史

许可证

Apache-2.0

作者信息

Shadow Walker

关于项目

Firefox Installation.

安装
ansible-galaxy install buluma.firefox
许可证
apache-2.0
下载
5k
拥有者
DevOps Engineer