subspace 3.0.22 → 3.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e12ca8ad07d7bc9ef0a4eed0d52be0f1ffa6cac408cd0acb52da0cfb994ea9f1
4
- data.tar.gz: '082166c447bb6dcb58a71599167ed69d23ed3cd9dd13ccb1bd34a9eb1039d7c8'
3
+ metadata.gz: 0b795ab120c9cd6ef51a2a7307a259bf93ce7e61043e8acd5e4b0c2315bd8add
4
+ data.tar.gz: b6721a78778b6b5005a4e36db7bfde02387a10656ffe990f41e9d1baddbbd72e
5
5
  SHA512:
6
- metadata.gz: 323f2f1acd128d1f4f7c5080bea4263580f77d837a24aa2359d3c4d865c10533978214ea444c365dadb9f8800feb7fa8175f597b0679978bbb33f35994ba1138
7
- data.tar.gz: 1eb77a6dcfc4df830e6d5e223cc2d3f48ac48444955bc3a56916997b17b412e2920af98624ed3b119d5f583c819a504bc74aa40b822f3135af51b67c14030026
6
+ metadata.gz: f87b11db0b941afa71af37de75cbdc4db31ffa444c1562d734595e828779e6048825f2b9a0861feb96eef897625d6adadd2f3c7aa49fcf3fa13a9788427c77d1
7
+ data.tar.gz: 7df00e223764df49ed05a4a17d420e9c23df51384eff3d61bf5b76d44d80570db1384bb57d43d6503dcb7f7c606bbda81ffb91f9992aeb4051853759095ee774
data/CHANGELOG.md CHANGED
@@ -12,6 +12,9 @@ This project attempts to follow [semantic versioning](https://semver.org/).
12
12
 
13
13
  ## Unreleased
14
14
 
15
+ ## 3.0.23
16
+ * Add cache_valid_time to apt update_cache calls across roles to avoid redundant apt updates during provision
17
+
15
18
  ## 3.0.22
16
19
  * Switch nginx from ppa:ondrej/nginx to official nginx.org repository.
17
20
 
@@ -103,7 +103,7 @@
103
103
  become: true
104
104
 
105
105
  - name: apt-get update
106
- apt: update_cache=yes cache_valid_time=86400
106
+ apt: update_cache=yes cache_valid_time=3600
107
107
  become: true
108
108
  tags:
109
109
  - upgrade
@@ -123,6 +123,7 @@
123
123
  name: systemd
124
124
  state: latest
125
125
  update_cache: yes
126
+ cache_valid_time: 3600
126
127
 
127
128
  - name: /usr/lib/update-notifier/apt-check --human-readable
128
129
  command: /usr/lib/update-notifier/apt-check --human-readable
@@ -14,6 +14,7 @@
14
14
  pkg: nginx
15
15
  state: latest
16
16
  update_cache: yes
17
+ cache_valid_time: 3600
17
18
  become: true
18
19
 
19
20
  - name: Remove default nginx config files
@@ -18,7 +18,7 @@
18
18
  register: node_repo
19
19
 
20
20
  - name: Update apt cache if repo was added.
21
- apt: update_cache=yes
21
+ apt: update_cache=yes cache_valid_time=3600
22
22
  when: node_repo.changed
23
23
 
24
24
  - name: Ensure Node.js and npm are installed.
@@ -46,6 +46,7 @@
46
46
  name: python3-pip
47
47
  state: present
48
48
  update_cache: yes
49
+ cache_valid_time: 3600
49
50
 
50
51
  - name: Install psycopg2 (python3)
51
52
  when: is_python3 is succeeded
@@ -58,6 +58,7 @@
58
58
  name: python3-pip
59
59
  state: present
60
60
  update_cache: yes
61
+ cache_valid_time: 3600
61
62
  tags:
62
63
  - postgresql
63
64
  - db
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  - name: Update APT cache
3
- apt: update_cache=yes
3
+ apt: update_cache=yes cache_valid_time=3600
4
4
  become: true
5
5
  when: ansible_facts["distribution"] == 'Debian' or ansible_facts["distribution"] == 'Ubuntu'
6
6
 
@@ -32,6 +32,7 @@
32
32
  state: latest
33
33
  allow_downgrade: true
34
34
  update_cache: yes
35
+ cache_valid_time: 3600
35
36
  tags:
36
37
  - maintenance
37
38
  - tailscale_reauth
@@ -30,6 +30,7 @@
30
30
  become_user: root
31
31
  apt:
32
32
  update_cache: yes
33
+ cache_valid_time: 3600
33
34
 
34
35
  - name: "Yarn | Install"
35
36
  become: yes
@@ -1,3 +1,3 @@
1
1
  module Subspace
2
- VERSION = "3.0.22"
2
+ VERSION = "3.0.23"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.22
4
+ version: 3.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson