APT change status update:
- updating cache is not a change - packages are 'present' (was latest) statefreebsd
parent
ef9242f2fb
commit
9111165a7c
|
@ -7,8 +7,12 @@
|
||||||
- name: INCLUDE_VARS | Related to PHP version
|
- name: INCLUDE_VARS | Related to PHP version
|
||||||
include_vars: "php-{{ php_version }}.yml"
|
include_vars: "php-{{ php_version }}.yml"
|
||||||
|
|
||||||
|
- name: APT | Update cache
|
||||||
|
apt: update_cache=yes cache_valid_time=3600
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: APT | Install PHP packages
|
- name: APT | Install PHP packages
|
||||||
apt: pkg={{ item }} state=latest update_cache=yes cache_valid_time=3600
|
apt: pkg={{ item }} state=present
|
||||||
with_flattened:
|
with_flattened:
|
||||||
- "{{ php_packages }}"
|
- "{{ php_packages }}"
|
||||||
- "{{ php_extra_packages }}"
|
- "{{ php_extra_packages }}"
|
||||||
|
|
Loading…
Reference in New Issue