Make checkrun work
This commit is contained in:
@@ -147,6 +147,7 @@
|
|||||||
command: systemctl get-default
|
command: systemctl get-default
|
||||||
register: systemd_target
|
register: systemd_target
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
check_mode: false
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
default_target: multi-user.target
|
default_target: multi-user.target
|
||||||
|
|||||||
5
user.yml
5
user.yml
@@ -88,6 +88,7 @@
|
|||||||
path: ~/{{ item.name }}
|
path: ~/{{ item.name }}
|
||||||
register: empty_dir_stat
|
register: empty_dir_stat
|
||||||
with_items: "{{ empty_directories }}"
|
with_items: "{{ empty_directories }}"
|
||||||
|
check_mode: false
|
||||||
|
|
||||||
- name: remove sysmlinks
|
- name: remove sysmlinks
|
||||||
file:
|
file:
|
||||||
@@ -121,6 +122,7 @@
|
|||||||
register: copy_stat
|
register: copy_stat
|
||||||
when: not item.template|default(false)
|
when: not item.template|default(false)
|
||||||
with_items: "{{ dotfiles }}"
|
with_items: "{{ dotfiles }}"
|
||||||
|
check_mode: false
|
||||||
|
|
||||||
- name: remove invalid copy target (directories)
|
- name: remove invalid copy target (directories)
|
||||||
file:
|
file:
|
||||||
@@ -153,6 +155,7 @@
|
|||||||
register: template_stat
|
register: template_stat
|
||||||
when: item.template|default(false)
|
when: item.template|default(false)
|
||||||
with_items: "{{ dotfiles }}"
|
with_items: "{{ dotfiles }}"
|
||||||
|
check_mode: false
|
||||||
|
|
||||||
- name: remove invalid template target (directory or symlink)
|
- name: remove invalid template target (directory or symlink)
|
||||||
file:
|
file:
|
||||||
@@ -190,6 +193,7 @@
|
|||||||
stat:
|
stat:
|
||||||
path: "/home/{{ user.name }}/bin"
|
path: "/home/{{ user.name }}/bin"
|
||||||
register: bin_stat
|
register: bin_stat
|
||||||
|
check_mode: false
|
||||||
|
|
||||||
- name: remove ~/bin if not a link
|
- name: remove ~/bin if not a link
|
||||||
file:
|
file:
|
||||||
@@ -268,6 +272,7 @@
|
|||||||
- name: install vim plugins
|
- name: install vim plugins
|
||||||
command: /usr/bin/nvim -f -E -s -c "source ~/.vimrc" +PlugInstall +qall
|
command: /usr/bin/nvim -f -E -s -c "source ~/.vimrc" +PlugInstall +qall
|
||||||
register: vim_plugins_stdout
|
register: vim_plugins_stdout
|
||||||
|
check_mode: false
|
||||||
changed_when: vim_plugins_stdout.stdout_lines|length != 0
|
changed_when: vim_plugins_stdout.stdout_lines|length != 0
|
||||||
|
|
||||||
- name: compile youcompleteme
|
- name: compile youcompleteme
|
||||||
|
|||||||
Reference in New Issue
Block a user