Merge "Move lxc cache facts setting to where those facts are used."
This commit is contained in:
commit
35adaabc81
@ -13,6 +13,11 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Set LXC cache fact(s)
|
||||
set_fact:
|
||||
cache_path_fact: "{{ lxc_container_cache_path }}/{{ lxc_cache_map.distro }}/{{ lxc_cache_map.release }}/{{ lxc_cache_map.arch }}/{{ lxc_cache_default_variant }}"
|
||||
cache_time: "{{ ansible_date_time.epoch }}"
|
||||
|
||||
- name: Retrieve the expiry object
|
||||
slurp:
|
||||
src: "{{ cache_path_fact }}/expiry"
|
||||
|
@ -13,11 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Set LXC cache fact(s)
|
||||
set_fact:
|
||||
cache_path_fact: "{{ lxc_container_cache_path }}/{{ lxc_cache_map.distro }}/{{ lxc_cache_map.release }}/{{ lxc_cache_map.arch }}/{{ lxc_cache_default_variant }}"
|
||||
cache_time: "{{ ansible_date_time.epoch }}"
|
||||
|
||||
- name: Legacy image url fetch
|
||||
block:
|
||||
- name: Create legacy image URL fetch
|
||||
|
Loading…
x
Reference in New Issue
Block a user