2018-11-15 10:26:52 +01:00
|
|
|
---
|
2019-05-22 10:58:27 +02:00
|
|
|
- include_tasks: versioncheck.yml
|
2020-11-13 11:30:51 +01:00
|
|
|
when: submodules_versioncheck | bool
|
2019-01-19 00:15:14 +01:00
|
|
|
|
2020-11-13 11:30:51 +01:00
|
|
|
- include_tasks: basic-selinux.yml
|
|
|
|
when: dotfiles__install_python_selinux | bool
|
2019-07-01 14:52:09 +02:00
|
|
|
|
2020-11-13 11:30:51 +01:00
|
|
|
- include_tasks: bashrc.yml
|
2020-11-13 14:28:57 +01:00
|
|
|
when: dotfiles__modify_bashrc | bool
|
2019-03-03 23:09:48 +01:00
|
|
|
|
2018-11-15 10:26:52 +01:00
|
|
|
- name: Copy vimrc configuration to root
|
2019-02-18 22:13:07 +01:00
|
|
|
become: yes
|
2018-11-15 10:26:52 +01:00
|
|
|
copy:
|
2019-01-10 13:32:49 +01:00
|
|
|
src: 'templates/vimrc'
|
2018-11-15 10:26:52 +01:00
|
|
|
dest: '/root/.vimrc'
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 'u=rw,g=r,o='
|
|
|
|
|
2019-03-03 23:09:48 +01:00
|
|
|
- name: Copy vimrc configuration to non admin users
|
|
|
|
become: yes
|
|
|
|
copy:
|
|
|
|
src: 'templates/vimrc'
|
|
|
|
dest: '/home/{{ item }}/.vimrc'
|
|
|
|
owner: '{{ item }}'
|
|
|
|
group: '{{ item }}'
|
|
|
|
mode: 'u=rw,g=r,o='
|
2019-05-14 11:18:24 +02:00
|
|
|
with_items: "{{ accounts }}"
|
2019-06-11 13:41:22 +02:00
|
|
|
when:
|
|
|
|
- accounts is defined
|
|
|
|
- accounts != ['root']
|
|
|
|
- accounts != 'root'
|
2019-03-03 23:09:48 +01:00
|
|
|
|
2019-06-07 17:21:23 +02:00
|
|
|
- name: create .config/ranger/ directory
|
|
|
|
become: true
|
|
|
|
file:
|
|
|
|
path: "/home/{{ item }}/.config/ranger"
|
|
|
|
state: directory
|
|
|
|
recurse: yes
|
|
|
|
owner: "{{ item }}"
|
|
|
|
group: "{{ item }}"
|
2020-11-13 11:30:51 +01:00
|
|
|
mode: '0644'
|
2019-06-07 17:21:23 +02:00
|
|
|
with_items: "{{ accounts }}"
|
2019-06-11 13:41:22 +02:00
|
|
|
when:
|
2020-11-13 14:28:57 +01:00
|
|
|
- dotfiles__ranger_hidden_files | bool
|
2019-06-11 13:41:22 +02:00
|
|
|
- accounts is defined
|
|
|
|
- accounts != ['root']
|
|
|
|
- accounts != 'root'
|
2019-06-07 17:21:23 +02:00
|
|
|
|
|
|
|
- name: create .config/ranger/rc.conf file
|
|
|
|
become: true
|
|
|
|
template:
|
|
|
|
src: templates/ranger_rc.conf.j2
|
|
|
|
dest: "/home/{{ item }}/.config/ranger/rc.conf"
|
|
|
|
owner: "{{ item }}"
|
|
|
|
group: "{{ item }}"
|
2020-11-13 11:30:51 +01:00
|
|
|
mode: '0644'
|
2019-06-07 17:21:23 +02:00
|
|
|
with_items: "{{ accounts }}"
|
2019-06-11 13:53:10 +02:00
|
|
|
when:
|
2020-11-13 14:28:57 +01:00
|
|
|
- dotfiles__ranger_hidden_files | bool
|
2019-06-11 13:53:10 +02:00
|
|
|
- accounts is defined
|
|
|
|
- accounts != ['root']
|
|
|
|
- accounts != 'root'
|