mirror of
https://github.com/roles-ansible/ansible_role_dotfiles.git
synced 2024-08-16 16:09:49 +02:00
Continue testing
This commit is contained in:
parent
7ef671feb1
commit
619a6ae019
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,5 @@ bash:
|
||||||
pwgen: true
|
pwgen: true
|
||||||
shell: "/bin/bash"
|
shell: "/bin/bash"
|
||||||
keyboard: '$(if [[ $(id -u) -ne 0 ]];then echo "\[\033[01;33m\]"; else echo "\[\033[01;31m\]"; fi) $(if [[ $? == 0 ]]; then printf "\xE2\x9D\xA4"; fi) \[\033[01;32m\]\u\[\033[01;36m\]@\[\033[01;32m\]\H\[\033[01;34m\] <\A> \[\033[01;35m\] \j \[\033[01;36m\] \w \[\033[01;33m\]\n\[\033[01;33m\] $(git branch 2>/dev/null | sed -n "s/* \(.*\)/\1 /p")$\[\033[01;00m\] '
|
keyboard: '$(if [[ $(id -u) -ne 0 ]];then echo "\[\033[01;33m\]"; else echo "\[\033[01;31m\]"; fi) $(if [[ $? == 0 ]]; then printf "\xE2\x9D\xA4"; fi) \[\033[01;32m\]\u\[\033[01;36m\]@\[\033[01;32m\]\H\[\033[01;34m\] <\A> \[\033[01;35m\] \j \[\033[01;36m\] \w \[\033[01;33m\]\n\[\033[01;33m\] $(git branch 2>/dev/null | sed -n "s/* \(.*\)/\1 /p")$\[\033[01;00m\] '
|
||||||
|
|
||||||
admins:
|
|
||||||
- root
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
group: '{{ item }}'
|
group: '{{ item }}'
|
||||||
mode: 'u=rw,g=r,o='
|
mode: 'u=rw,g=r,o='
|
||||||
with_items: '{{ admins }}'
|
with_items: '{{ admins }}'
|
||||||
|
when: admins is defined
|
||||||
|
|
||||||
- name: Copy vimrc configuration to root
|
- name: Copy vimrc configuration to root
|
||||||
copy:
|
copy:
|
||||||
|
@ -40,6 +41,7 @@
|
||||||
group: '{{ item }}'
|
group: '{{ item }}'
|
||||||
mode: 'u=rw,g=r,o='
|
mode: 'u=rw,g=r,o='
|
||||||
with_items: "{{ admins }}"
|
with_items: "{{ admins }}"
|
||||||
|
when: admins is defined
|
||||||
|
|
||||||
- name: install nextcloud-client systemd unit file
|
- name: install nextcloud-client systemd unit file
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue