varnish: better package facts usage with check mode and tags
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
396afa0a75
commit
ecd9d1543f
|
@ -31,6 +31,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
* redis: some values should be quoted
|
* redis: some values should be quoted
|
||||||
* redis: variable to disable transparent hugepage (default: do nothing)
|
* redis: variable to disable transparent hugepage (default: do nothing)
|
||||||
* squid: whitelist deb.freexian.com
|
* squid: whitelist deb.freexian.com
|
||||||
|
* varnish: better package facts usage with check mode and tags
|
||||||
* varnish: systemd override depends on Varnish version instead of Debian version
|
* varnish: systemd override depends on Varnish version instead of Debian version
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -9,13 +9,27 @@
|
||||||
- name: Fetch packages
|
- name: Fetch packages
|
||||||
package_facts:
|
package_facts:
|
||||||
manager: auto
|
manager: auto
|
||||||
|
check_mode: no
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
varnish_package_facts: ansible_facts.packages['varnish'] | first
|
varnish_package_facts: "{{ ansible_facts.packages['varnish'] | first }}"
|
||||||
|
check_mode: no
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
|
# - debug:
|
||||||
|
# var: varnish_package_facts
|
||||||
|
# check_mode: no
|
||||||
|
# tags:
|
||||||
|
# - varnish
|
||||||
|
# - config
|
||||||
|
# - update-config
|
||||||
|
|
||||||
- name: Remove default varnish configuration files
|
- name: Remove default varnish configuration files
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in a new issue