linting
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2021-10-24 11:48:26 +02:00
parent b5a97a735f
commit cf4fc15f44

View File

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