Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing addon for firefox on raspbian #7

Closed
xeloader opened this issue Oct 1, 2019 · 2 comments
Closed

Error when installing addon for firefox on raspbian #7

xeloader opened this issue Oct 1, 2019 · 2 comments

Comments

@xeloader
Copy link

xeloader commented Oct 1, 2019

Code:

- name: Install auto fullscreen addon
  firefox_addon:
    url: https://addons.mozilla.org/sv-SE/firefox/addon/autofullscreen/
    profile: /home/pi/.mozilla/firefox/sun-screen-profile
    state: present

- name: Install black theme addon
  firefox_addon:
    url: https://addons.mozilla.org/sv-SE/firefox/addon/biack/
    profile: /home/pi/.mozilla/firefox/sun-screen-profile
    state: present

Result:

fatal: [sl-screen-1000000038a16916.local]: FAILED! => {"changed": false, "module_stderr": "Shared connection to sl-screen-1000000038a16916.local closed.\r\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 0}

Expected result:
Addon installed

Any ideas why this is? I've installed all of the dependencies.

@knarewski
Copy link

knarewski commented Oct 6, 2019

Hi @xeloader , this script is very outdated, I've submitted two pull requests to restore the basic functionality (#8 & #9). I'm not sure if the updated version will work for you, but may be worth a shot. You can give it a try by installing the ansible-galaxy role directly from my forked repo:

- src: https://github.com/knarewski/ansible-firefox-addon
  version: 833caa316ec97aa128b84addcbf2fa19cfe40ff3

Then in your playbook you need to refer to it as ansible-firefox-addon.

Please note, that the installed extension will require manual approval after starting the firefox (I believe it's for security). If it's not what you want, perhaps the Firefox Policies can help you (although I haven't tried using them)

Please let me know if that worked for you :)

@xeloader
Copy link
Author

xeloader commented Oct 8, 2019

@knarewski Awesome, I'll try that out. Thank you.

@xeloader xeloader closed this as completed Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants