1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_i3wm.git synced 2024-08-16 10:09:53 +02:00

Improve layout for ansible galaxy

This commit is contained in:
Lilian Roller 2019-04-24 09:53:29 +02:00
parent c3ac136b12
commit 06c722a9ca
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
5 changed files with 6 additions and 11 deletions

View file

@ -37,4 +37,4 @@ i3_desktop_env:
i3_packages_extra:
- ranger
iw3m_user: "{{ user }}"
i3wm_user: "{{ ansible_user_id }}"

View file

@ -13,7 +13,6 @@ galaxy_info:
- name: Ubuntu
versions:
- bionic
- disco
- name: Fedora
versions:
- 28

View file

@ -1,5 +1,4 @@
---
- name: register variables
import_tasks: variables.yml
@ -18,17 +17,17 @@
# create i3 config file
- name: Creates directory
file:
path: '/home/{{ iw3m_user }}/.config'
path: '/home/{{ i3wm_user }}/.config'
state: directory
mode: 0750
owner: "{{ iw3m_user }}"
owner: "{{ i3wm_user }}"
- name: create i3 config folder
file:
path: '/home/{{ iw3m_user }}/.config/i3/'
path: '/home/{{ i3wm_user }}/.config/i3/'
state: directory
mode: 0755
owner: "{{ iw3m_user }}"
owner: "{{ i3wm_user }}"
- name: register i3 config file
action: stat path="~/.config/i3/config"
@ -46,7 +45,7 @@
- name: create i3 config file
template:
src: config.j2
dest: "/home/{{ iw3m_user }}/.config/i3/config"
dest: "/home/{{ i3wm_user }}/.config/i3/config"
- name: check i3 config file
command: i3 -C

View file

@ -7,4 +7,3 @@ __i3_packages:
- terminator
- i3lock
- dmenu

View file

@ -30,5 +30,3 @@ __i3_workspaces:
- workspace:
id: 0
name: " 0 "