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:
|
i3_packages_extra:
|
||||||
- ranger
|
- ranger
|
||||||
|
|
||||||
iw3m_user: "{{ user }}"
|
i3wm_user: "{{ ansible_user_id }}"
|
||||||
|
|
|
@ -13,7 +13,6 @@ galaxy_info:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
- bionic
|
- bionic
|
||||||
- disco
|
|
||||||
- name: Fedora
|
- name: Fedora
|
||||||
versions:
|
versions:
|
||||||
- 28
|
- 28
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: register variables
|
- name: register variables
|
||||||
import_tasks: variables.yml
|
import_tasks: variables.yml
|
||||||
|
|
||||||
|
@ -18,17 +17,17 @@
|
||||||
# create i3 config file
|
# create i3 config file
|
||||||
- name: Creates directory
|
- name: Creates directory
|
||||||
file:
|
file:
|
||||||
path: '/home/{{ iw3m_user }}/.config'
|
path: '/home/{{ i3wm_user }}/.config'
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0750
|
mode: 0750
|
||||||
owner: "{{ iw3m_user }}"
|
owner: "{{ i3wm_user }}"
|
||||||
|
|
||||||
- name: create i3 config folder
|
- name: create i3 config folder
|
||||||
file:
|
file:
|
||||||
path: '/home/{{ iw3m_user }}/.config/i3/'
|
path: '/home/{{ i3wm_user }}/.config/i3/'
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
owner: "{{ iw3m_user }}"
|
owner: "{{ i3wm_user }}"
|
||||||
|
|
||||||
- name: register i3 config file
|
- name: register i3 config file
|
||||||
action: stat path="~/.config/i3/config"
|
action: stat path="~/.config/i3/config"
|
||||||
|
@ -46,7 +45,7 @@
|
||||||
- name: create i3 config file
|
- name: create i3 config file
|
||||||
template:
|
template:
|
||||||
src: config.j2
|
src: config.j2
|
||||||
dest: "/home/{{ iw3m_user }}/.config/i3/config"
|
dest: "/home/{{ i3wm_user }}/.config/i3/config"
|
||||||
|
|
||||||
- name: check i3 config file
|
- name: check i3 config file
|
||||||
command: i3 -C
|
command: i3 -C
|
||||||
|
|
|
@ -7,4 +7,3 @@ __i3_packages:
|
||||||
- terminator
|
- terminator
|
||||||
- i3lock
|
- i3lock
|
||||||
- dmenu
|
- dmenu
|
||||||
|
|
||||||
|
|
|
@ -30,5 +30,3 @@ __i3_workspaces:
|
||||||
- workspace:
|
- workspace:
|
||||||
id: 0
|
id: 0
|
||||||
name: " 0 "
|
name: " 0 "
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue