etc-git: fix warnings ansible-lint
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
bf7de332ea
commit
e7952dc3c8
|
@ -60,6 +60,7 @@ The **patch** part changes incrementally at each release.
|
|||
* varnish: remove custom ExecReload= script for Debian 10+
|
||||
|
||||
### Fixed
|
||||
* etc-git: fix warnings ansible-lint
|
||||
* evoadmin-web: Put the php config at the right place for Buster
|
||||
* lxc-php: Don't remove the default pool
|
||||
* minifirewall: fix warnings ansible-lint
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
- name: "set commit author"
|
||||
set_fact:
|
||||
commit_author: '{% if ansible_env.SUDO_USER is not defined %}root{% else %}{{ ansible_env.SUDO_USER }}{% endif %}'
|
||||
commit_email: '{% if git_config_user_email.config_value is not defined or git_config_user_email.config_value == "" %}root@localhost{% else %}{{ git_config_user_email.config_value }}{% endif %}'
|
||||
commit_email: '{% if git_config_user_email.config_value is not defined or not git_config_user_email.config_value %}root@localhost{% else %}{{ git_config_user_email.config_value }}{% endif %}' # noqa 204
|
||||
tags:
|
||||
- etc-git
|
||||
- commit-etc
|
||||
|
@ -41,7 +41,9 @@
|
|||
args:
|
||||
chdir: /etc
|
||||
register: etc_commit_end_run
|
||||
when: not ansible_check_mode and git_status.stdout != ""
|
||||
when:
|
||||
- not ansible_check_mode
|
||||
- git_status.stdout
|
||||
ignore_errors: yes
|
||||
tags:
|
||||
- etc-git
|
||||
|
|
Loading…
Reference in New Issue