Fix some ansible-lint issues.
This commit is contained in:
parent
7f16abdc29
commit
705852b851
|
@ -20,5 +20,7 @@
|
|||
|
||||
post_tasks:
|
||||
- name: Confirm PHP version is correct.
|
||||
shell: "php -v | grep -F '{{ php_version }}'"
|
||||
shell: |
|
||||
set -o pipefail
|
||||
php -v | grep -F '{{ php_version }}'
|
||||
changed_when: false
|
||||
|
|
|
@ -20,5 +20,7 @@
|
|||
|
||||
post_tasks:
|
||||
- name: Confirm PHP version is correct.
|
||||
shell: "php -v | grep -F '{{ php_version }}'"
|
||||
shell: |
|
||||
set -o pipefail
|
||||
php -v | grep -F '{{ php_version }}'
|
||||
changed_when: false
|
||||
|
|
|
@ -20,5 +20,7 @@
|
|||
|
||||
post_tasks:
|
||||
- name: Confirm PHP version is correct.
|
||||
shell: "php -v | grep -F '{{ php_version }}'"
|
||||
shell: |
|
||||
set -o pipefail
|
||||
php -v | grep -F '{{ php_version }}'
|
||||
changed_when: false
|
||||
|
|
|
@ -38,7 +38,10 @@
|
|||
|
||||
- name: Update apt caches after repo is added (Debian).
|
||||
apt: update_cache=true
|
||||
when: php_ondrej_debian_repo.changed and (ansible_distribution == "Debian")
|
||||
when:
|
||||
- php_ondrej_debian_repo.changed
|
||||
- ansible_distribution == "Debian"
|
||||
tags: ['skip_ansible_lint']
|
||||
|
||||
# PHP package purges.
|
||||
- name: Purge PHP version packages.
|
||||
|
|
Loading…
Reference in New Issue