diff --git a/tasks/main.yml b/tasks/main.yml index 4cb3f1b..ae9091b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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