From a7092361c7aa3939afa0079ddb874f8319c56f9f Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Wed, 24 Apr 2019 12:43:25 +0200 Subject: [PATCH] Removed whitespaces --- meta/main.yml | 2 +- tasks/main.yml | 2 +- tasks/setup-Archlinux.yml | 2 +- tasks/setup-RedHat.yml | 2 +- tasks/variables.yml | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index ce13c2f..cb825f4 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -18,7 +18,7 @@ galaxy_info: versions: - 28 - 29 - galaxy_tags: + galaxy_tags: - i3wm - arch - desktop diff --git a/tasks/main.yml b/tasks/main.yml index 34d0899..6a5e800 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -16,7 +16,7 @@ # create i3 config file - name: Creates directory - file: + file: path: '/home/{{ i3wm_user }}/.config' state: directory mode: 0750 diff --git a/tasks/setup-Archlinux.yml b/tasks/setup-Archlinux.yml index f232ecc..6f1b99b 100644 --- a/tasks/setup-Archlinux.yml +++ b/tasks/setup-Archlinux.yml @@ -2,6 +2,6 @@ - name: ensure i3 packages are installed. pacman: name: "{{ i3_packages }}" - state: latest + state: present update_cache: yes become: true diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index eec8226..e30c238 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -2,5 +2,5 @@ - name: ensure i3 packages are installed. dnf: name: "{{ i3_packages }}" - state: "latest" + state: present become: true diff --git a/tasks/variables.yml b/tasks/variables.yml index a1d26ff..ea78157 100644 --- a/tasks/variables.yml +++ b/tasks/variables.yml @@ -23,20 +23,20 @@ - name: define i3_packages set_fact: i3_keybindings: "{{ __i3_keybindings | list }}" - when: + when: - i3_keybindings is not defined - __i3_keybindings is defined - name: define extra i3 keybindings set_fact: i3_keybindings: "{{ i3_keybindings_extra | list + i3_keybindings | list }}" - when: + when: - i3_keybindings_extra is defined - i3_keybindings is defined - name: define extra i3 keybindings set_fact: i3_keybindings: "{{ i3_keybindings_extra | list }}" - when: + when: - i3_keybindings_extra is defined - i3_keybindings is not defined