This commit is contained in:
parent
b5a97a735f
commit
cf4fc15f44
@ -6,14 +6,13 @@
|
||||
repo: "{{ user_config_repo }}" # required. git, SSH, or HTTP(S) protocol address of the git repository.
|
||||
clone: yes # not required. If C(no), do not clone the repository if it does not exist locally
|
||||
recursive: yes
|
||||
force: no
|
||||
force: no
|
||||
update: yes
|
||||
accept_hostkey: yes
|
||||
register: config_download
|
||||
|
||||
|
||||
- debug:
|
||||
msg: "{{ config_download }}"
|
||||
msg: "{{ config_download }}"
|
||||
|
||||
- name: pass user shell to zsh
|
||||
user:
|
||||
@ -23,7 +22,7 @@
|
||||
become: yes
|
||||
|
||||
- name: test if user bash rc exist
|
||||
stat:
|
||||
stat:
|
||||
path: /home/{{user.name}}/.bashrc
|
||||
register: links
|
||||
|
||||
@ -33,7 +32,7 @@
|
||||
state: absent
|
||||
when: links.stat.islnk is defined and not links.stat.islnk
|
||||
|
||||
- name: apply stow config
|
||||
- name: apply stow config
|
||||
shell: stow *
|
||||
args:
|
||||
chdir: /home/{{user.name}}/conf2
|
||||
|
Loading…
Reference in New Issue
Block a user