From 8529d3e7dd980d6d07734b1279a91a61da940617 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 3 Oct 2019 15:24:33 +0100 Subject: [PATCH] Make names neater --- roles/home/tasks/emacs.yml | 10 +++++----- roles/home/tasks/firefox.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/home/tasks/emacs.yml b/roles/home/tasks/emacs.yml index 8a1ef74..2f22a18 100644 --- a/roles/home/tasks/emacs.yml +++ b/roles/home/tasks/emacs.yml @@ -1,9 +1,9 @@ --- -- name: Clone emacs settings +- name: Clone Emacs settings git: repo: https://git.acperkins.com/acp/emacs.d.git dest: "{{ ansible_env.HOME }}/.emacs.d" -- name: Find emacs service definition +- name: Find Emacs service definition find: paths: /usr/share/emacs patterns: 'emacs.service' @@ -14,13 +14,13 @@ file: path: "{{ ansible_env.HOME }}/.config/systemd/user" state: directory -- name: Create emacs user service +- name: Create Emacs user service copy: src: '{{ item.path }}' dest: "{{ ansible_env.HOME }}/.config/systemd/user/emacs.service" remote_src: yes loop: '{{ emacs_service_files.files }}' -- name: Start emacs user service +- name: Start Emacs user service systemd: name: emacs.service scope: user @@ -31,7 +31,7 @@ file: path: "{{ ansible_env.HOME }}/.local/share/applications" state: directory -- name: Create emacs client launcher +- name: Create Emacs client launcher copy: src: "{{ ansible_env.HOME }}/.emacs.d/emacs-client.desktop" dest: "{{ ansible_env.HOME }}/.local/share/applications/emacs-client.desktop" diff --git a/roles/home/tasks/firefox.yml b/roles/home/tasks/firefox.yml index 9225e5c..f0f04ac 100644 --- a/roles/home/tasks/firefox.yml +++ b/roles/home/tasks/firefox.yml @@ -3,7 +3,7 @@ stat: path: "{{ ansible_env.HOME }}/.mozilla/firefox/profiles.ini" register: profile_ini -- name: Get Firefox profile name +- name: Copy Firefox preferences to Profile0 copy: src: user.js dest: "{{ ansible_env.HOME }}/.mozilla/firefox/{{ lookup('ini', 'Path section=Profile0 file={{ ansible_env.HOME }}/.mozilla/firefox/profiles.ini') }}/user.js"