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