etc-git: Remove deprecated/unsupported "warn" parameter
This commit is contained in:
parent
70ab0c80de
commit
bce501dee0
|
@ -5,7 +5,6 @@
|
|||
args:
|
||||
chdir: "{{ repository_path }}"
|
||||
creates: "{{ repository_path }}/.git/"
|
||||
warn: false
|
||||
register: git_init
|
||||
tags:
|
||||
- etc-git
|
||||
|
@ -53,7 +52,6 @@
|
|||
ansible.builtin.command: "git log"
|
||||
args:
|
||||
chdir: "{{ repository_path }}"
|
||||
warn: false
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
register: git_log
|
||||
|
@ -65,7 +63,6 @@
|
|||
ansible.builtin.shell: "git add -A . && git commit -m \"Initial commit via Ansible\""
|
||||
args:
|
||||
chdir: "{{ repository_path }}"
|
||||
warn: false
|
||||
register: git_commit
|
||||
when: git_log.rc != 0 or (git_init is defined and git_init is changed)
|
||||
tags:
|
||||
|
|
Loading…
Reference in a new issue