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:
parent
c3ac136b12
commit
06c722a9ca
5 changed files with 6 additions and 11 deletions
|
@ -37,4 +37,4 @@ i3_desktop_env:
|
|||
i3_packages_extra:
|
||||
- ranger
|
||||
|
||||
iw3m_user: "{{ user }}"
|
||||
i3wm_user: "{{ ansible_user_id }}"
|
||||
|
|
|
@ -13,7 +13,6 @@ galaxy_info:
|
|||
- name: Ubuntu
|
||||
versions:
|
||||
- bionic
|
||||
- disco
|
||||
- name: Fedora
|
||||
versions:
|
||||
- 28
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,4 +7,3 @@ __i3_packages:
|
|||
- terminator
|
||||
- i3lock
|
||||
- dmenu
|
||||
|
||||
|
|
|
@ -30,5 +30,3 @@ __i3_workspaces:
|
|||
- workspace:
|
||||
id: 0
|
||||
name: " 0 "
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue