diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-31 21:53:15 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-31 21:53:15 -0400 |
commit | 4696aa1fed214fe1084d7c3deecaaa289bc0a1fd (patch) | |
tree | fa0d7d2d121cfe2787b1f1a94b2328aeff73c724 /roles/obs/tasks/firefox.yml | |
parent | b8c97d14ed81871eef51ba7253982c45258ec538 (diff) | |
download | emacsconf-ansible-4696aa1fed214fe1084d7c3deecaaa289bc0a1fd.tar.xz emacsconf-ansible-4696aa1fed214fe1084d7c3deecaaa289bc0a1fd.zip |
Update OBS, renamepublish and edit
Diffstat (limited to '')
-rw-r--r-- | roles/obs/tasks/firefox.yml | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/roles/obs/tasks/firefox.yml b/roles/obs/tasks/firefox.yml deleted file mode 100644 index d96e330..0000000 --- a/roles/obs/tasks/firefox.yml +++ /dev/null @@ -1,36 +0,0 @@ -- name: Add Firefox - apt: - name: firefox-esr - when: ansible_distribution == "Debian" -- name: Add Firefox - apt: - name: firefox-esr - when: ansible_distribution == "Ubuntu" -- name: Check if Firefox profiles exist - lineinfile: - dest: "{{ emacsconf_home }}/.mozilla/firefox/profiles.ini" - line: "Name={{ emacsconf_id }}-{{ item.id }}" - check_mode: yes - register: find_profiles - failed_when: no - loop: "{{ emacsconf_tracks }}" -- name: Fail if there are missing profiles - fail: - msg: "Please use firefox -no-remote -CreateProfile {{ emacsconf_id }}-{{ item.item.id }} in an X session to create the profiles." - when: item.changed - loop: "{{ find_profiles.results }}" -- name: Create scripts for tracks - template: - src: firefox-track - dest: "{{ emacsconf_home }}/bin/{{ item.id }}/-firefox" - owner: "{{ emacsconf_user }}" - group: "{{ emacsconf_group }}" - mode: 0775 - loop: "{{ emacsconf_tracks }}" - - # - debug: -# var: find_profiles.results -# - name: Create profile if it doesn't exist -# shell: xinit firefox -no-remote -CreateProfile "{{ emacsconf_id }}-{{ item.item.id }}" -# when: item.changed -# loop: "{{ find_profiles.results }}" |