Moves provisioning of tmux.conf to users, i.e. each user will have a tmux.conf
This commit is contained in:
parent
63c00e2870
commit
66acbf2930
2 changed files with 14 additions and 3 deletions
|
@ -1,14 +1,23 @@
|
|||
---
|
||||
# tasks file for common
|
||||
|
||||
- name: Firewall
|
||||
become: true
|
||||
import_role:
|
||||
name: geerlingguy.firewall
|
||||
tags: firewall
|
||||
|
||||
- include: locales-debian.yml
|
||||
become: true
|
||||
when: ansible_facts['os_family'] == 'Debian'
|
||||
|
||||
- include: users.yml
|
||||
become: true
|
||||
|
||||
- include: python-debian.yml
|
||||
become: true
|
||||
when: ansible_facts['os_family'] == 'Debian'
|
||||
|
||||
- include: ansible-debian.yml
|
||||
become: true
|
||||
|
||||
|
@ -22,5 +31,3 @@
|
|||
- htop
|
||||
- tmux
|
||||
become: yes
|
||||
- name: Copy tmux config
|
||||
copy: src=files/tmux.conf dest=/home/{{ ansible_user }}/.tmux.conf mode=0644
|
|
@ -46,4 +46,8 @@
|
|||
name: "{{ item }}"
|
||||
groups: wheel
|
||||
append: yes
|
||||
with_items: "{{ sudoers }}"
|
||||
with_items: "{{ sudoers }}"
|
||||
|
||||
- name: Copy tmux config
|
||||
copy: src=files/tmux.conf dest=/home/{{ item }}/.tmux.conf mode=0644
|
||||
with_items: "{{ users }}"
|
Loading…
Add table
Reference in a new issue