在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:unrblt/ansible-role-firefox开源软件地址:https://github.com/unrblt/ansible-role-firefox开源编程语言:Python 100.0%开源软件介绍:Ansible Role: FirefoxInstalls firefox and optionally creates profiles with extensions.
Extensions are installed but need to be manually enabled from firefox.
It's only been tested in Ubuntu, but should work on other systems as long as
you set the right packages in Requirementsxmltodict and requests are required on the remote host to install extensions. Role Variablesfirefox_home: ~/.mozilla/firefox Default directory for profiles. firefox_packages:
- firefox
- firefox-locale-en
- firefox-locale-es Packages to install. firefox_profiles: []
# - name: alice
# extensions:
# - random-agent-spoofer
# - name: bob
# extensions: [] List of profiles with extensions. firefox_preferences: {}
# browser.safebrowsing.enabled: 'false' Dictionary with preference and value. This preferences are written to a firefox_profile_preferences: {}
# alice:
# browser.safebrowsing.enabled: 'false'
# browser.safebrowsing.malware.enabled: 'false' Dictionary with preference and value (keyed by profile name). This preferences
will be merged with Example Playbook- hosts: localhost
vars:
firefox_profiles:
- name: alice
extensions:
- random-agent-spoofer
- https-everywhere
- noscript
- name: bob
extensions: []
firefox_preferences:
browser.safebrowsing.enabled: 'true'
geo.ip: 'false'
browser.search.defaultenginename: "'DuckDuckGo'"
firefox_profile_preferences:
alice:
browser.safebrowsing.enabled: 'false'
browser.safebrowsing.malware.enabled: 'false'
pre_tasks:
- name: install role requirements
pip: name={{ item }} state=present
with_items:
- xmltodict
- requests
roles:
- firefox LicenseGPLv2 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论