subspace 3.0.18 → 3.0.19

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: dc8db3afb1c3db6e68604397fdfe0f9cde0596fc1555229a0b351d75facbfffe
4
- data.tar.gz: '08a5e8fb0d688b31c1f69a7c8137e25c788403037f92f55c385d9c74097e8269'
3
+ metadata.gz: 956e0a4b6a68eb7f965088321721de5a1c999b11b64fc3ee8fb0efee994986d5
4
+ data.tar.gz: a9999c4b17d8504f054a0980f18b5d41636bedfa6a04e46afde2ac1e531d82e9
5
5
  SHA512:
6
- metadata.gz: b0f20a459a4e204e205d655a26467b6a9f3993b14ae9e510c03968dd4075ea81926b01dfac1329a28122243e0864c517bc8be6df10deb0673662b19127cdaf4f
7
- data.tar.gz: 29ef7da3ab3b766b685290d94b3e1345707d6c9127056e74de078017384c595e17cd5b659989081cdfac22061cdcc71879a91af0f1e969ebece3e749d8852735
6
+ metadata.gz: f57390cd003586f1eb61fc406db24927eec8189305bb41070931807757d5175d7e18679af96d578a21658d8ff24d3ed6dbd9bbd95280b3cedd7eea7df0c1ed07
7
+ data.tar.gz: e0765976e650b0b9dac18aa524c40ff3428570acf2d56b69f31900766978009eef64ae608726a2692f21bda273efd5ad792ee6420d532d107af7bcc70cd96d27
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.19
16
+ * Fix ansible fact deprecations
17
+
15
18
  ## 3.0.18
16
19
  * Fix conditional when checking for newrelic_logs so that it returns a boolean instead of an integer
17
20
 
@@ -5,7 +5,7 @@
5
5
  line: "*.* @{{alienvault_usm_anywhere_sensor_ip}}:514"
6
6
  state: present
7
7
  become: true
8
- when: ansible_distribution == 'Ubuntu'
8
+ when: ansible_facts["distribution"] == 'Ubuntu'
9
9
  tags:
10
10
  - alienvault
11
11
 
@@ -15,7 +15,7 @@
15
15
  line: "*.* @{{alienvault_usm_anywhere_sensor_ip}}:514"
16
16
  state: present
17
17
  become: true
18
- when: ansible_distribution == 'Amazon'
18
+ when: ansible_facts["distribution"] == 'Amazon'
19
19
  tags:
20
20
  - alienvault
21
21
 
@@ -10,4 +10,4 @@ This server brought to you by:
10
10
  If you need to make configuration changes to the server, please modify the
11
11
  config/subspace directory in the app or risk the changes disappearing.
12
12
 
13
- Last subspace run: {{ansible_date_time.iso8601}}
13
+ Last subspace run: {{ansible_facts["date_time"].iso8601}}
@@ -3,7 +3,7 @@
3
3
  apt_key: url=https://www.postgresql.org/media/keys/ACCC4CF8.asc state=present
4
4
 
5
5
  - name: Configure the PostgreSQL APT repositories
6
- apt_repository: repo="deb http://apt.postgresql.org/pub/repos/apt/ {{ ansible_distribution_release}}-pgdg main"
6
+ apt_repository: repo="deb http://apt.postgresql.org/pub/repos/apt/ {{ ansible_facts["distribution_release"]}}-pgdg main"
7
7
  state=present
8
8
 
9
9
  - name: Install PostGIS
@@ -14,7 +14,7 @@
14
14
  - name: Add PostgreSQL official APT repository
15
15
  become: yes
16
16
  apt_repository:
17
- repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main"
17
+ repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_facts[\"distribution_release\"]}}-pgdg main"
18
18
  tags:
19
19
  - postgresql
20
20
  - db
@@ -2,7 +2,7 @@
2
2
  # Official PostgreSQL [repository] for debian-based distributions
3
3
  # [repository]: http://www.postgresql.org/download/
4
4
  - name: Adding APT repository key
5
- when: ansible_os_family == 'Debian'
5
+ when: ansible_facts["os_family"] == 'Debian'
6
6
  become: yes
7
7
  apt_key:
8
8
  id: ACCC4CF8
@@ -13,17 +13,17 @@
13
13
  - repo
14
14
 
15
15
  - name: Add PostgreSQL official APT repository
16
- when: ansible_os_family == 'Debian'
16
+ when: ansible_facts["os_family"] == 'Debian'
17
17
  become: yes
18
18
  apt_repository:
19
- repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main"
19
+ repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_facts[\"distribution_release\"]}}-pgdg main"
20
20
  tags:
21
21
  - postgresql
22
22
  - db
23
23
  - repo
24
24
 
25
25
  - name: Install PostgreSQL
26
- when: ansible_os_family == 'Debian'
26
+ when: ansible_facts["os_family"] == 'Debian'
27
27
  become: yes
28
28
  apt:
29
29
  name: "postgresql-client-{{postgresql_version}}"
@@ -36,7 +36,7 @@
36
36
  - deps
37
37
 
38
38
  - name: Install libpq-dev
39
- when: ansible_os_family == 'Debian'
39
+ when: ansible_facts["os_family"] == 'Debian'
40
40
  become: yes
41
41
  apt:
42
42
  name: "libpq-dev"
@@ -3,7 +3,7 @@
3
3
  apt:
4
4
  name: ['git', 'libffi-dev', 'libgmp3-dev', 'libpq-dev', 'libxslt-dev', 'zlib1g-dev']
5
5
  become: true
6
- when: ('Ubuntu' in ansible_distribution)
6
+ when: ('Ubuntu' in ansible_facts["distribution"])
7
7
  tags:
8
8
  - maintenance
9
9
 
@@ -14,7 +14,7 @@
14
14
  tags:
15
15
  - maintenance
16
16
  - imagemagick
17
- when: ('Ubuntu' in ansible_distribution)
17
+ when: ('Ubuntu' in ansible_facts["distribution"])
18
18
 
19
19
  - name: Update ImageMagick policy to enable reading PDF files
20
20
  lineinfile:
@@ -26,7 +26,7 @@
26
26
  tags:
27
27
  - maintenance
28
28
  - imagemagick
29
- when: ('Ubuntu' in ansible_distribution)
29
+ when: ('Ubuntu' in ansible_facts["distribution"])
30
30
 
31
31
  - name: Create /u/apps/{{project_name}}/shared/config
32
32
  file:
@@ -6,7 +6,7 @@
6
6
 
7
7
  - name: Add redis repository into sources list
8
8
  ansible.builtin.apt_repository:
9
- repo: deb https://packages.redis.io/deb {{ ansible_distribution_release }} main
9
+ repo: deb https://packages.redis.io/deb {{ ansible_facts["distribution_release"] }} main
10
10
  state: present
11
11
  register: redis_apt_repo
12
12
 
@@ -2,7 +2,7 @@
2
2
  - name: Update APT cache
3
3
  apt: update_cache=yes
4
4
  become: true
5
- when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
5
+ when: ansible_facts["distribution"] == 'Debian' or ansible_facts["distribution"] == 'Ubuntu'
6
6
 
7
7
  - name: Retrieve the number of cores that are available for compilation
8
8
  command: nproc
@@ -14,7 +14,7 @@
14
14
  with_items:
15
15
  - autoconf
16
16
  - build-essential
17
- when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
17
+ when: ansible_facts["distribution"] == 'Debian' or ansible_facts["distribution"] == 'Ubuntu'
18
18
 
19
19
  - name: Install yum prerequisite packages that are necessary to compile applications and gems with native extensions
20
20
  yum: name="{{ item }}"
@@ -22,20 +22,20 @@
22
22
  with_items:
23
23
  - autoconf
24
24
  - "@Developer tools"
25
- when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux' or ansible_distribution == 'Amazon'
25
+ when: ansible_facts["distribution"] == 'CentOS' or ansible_facts["distribution"] == 'Red Hat Enterprise Linux' or ansible_facts["distribution"] == 'Amazon'
26
26
 
27
27
  - name: Install APT Ruby dependencies
28
28
  become: true
29
29
  apt: pkg={{ item }}
30
30
  state=present
31
31
  with_items: "{{ ruby_apt_dependencies }}"
32
- when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
32
+ when: ansible_facts["distribution"] == 'Debian' or ansible_facts["distribution"] == 'Ubuntu'
33
33
 
34
34
  - name: Install yum Ruby dependencies
35
35
  become: true
36
36
  yum: name={{ item }}
37
37
  with_items: "{{ ruby_yum_dependencies }}"
38
- when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux' or ansible_distribution == 'Amazon'
38
+ when: ansible_facts["distribution"] == 'CentOS' or ansible_facts["distribution"] == 'Red Hat Enterprise Linux' or ansible_facts["distribution"] == 'Amazon'
39
39
 
40
40
  - name: Download the Ruby source code
41
41
  get_url: url={{ ruby_download_location }}
@@ -2,7 +2,7 @@
2
2
  - name: "Add Tailscale apt key"
3
3
  become: true
4
4
  apt_key:
5
- url: https://pkgs.tailscale.com/stable/ubuntu/{{ansible_distribution_release}}.gpg
5
+ url: https://pkgs.tailscale.com/stable/ubuntu/{{ansible_facts["distribution_release"]}}.gpg
6
6
  state: present
7
7
  tags:
8
8
  - maintenance
@@ -11,7 +11,7 @@
11
11
  - name: "Add Tailscale apt repos"
12
12
  become: true
13
13
  apt_repository:
14
- repo: "deb https://pkgs.tailscale.com/stable/ubuntu {{ansible_distribution_release}} main"
14
+ repo: "deb https://pkgs.tailscale.com/stable/ubuntu {{ansible_facts[\"distribution_release\"]}} main"
15
15
  state: present
16
16
  tags:
17
17
  - maintenance
@@ -4,7 +4,7 @@
4
4
  # [repository]: http://www.postgresql.org/download/
5
5
 
6
6
  - name: Adding APT repository key
7
- when: ansible_os_family == 'Debian'
7
+ when: ansible_facts["os_family"] == 'Debian'
8
8
  become: yes
9
9
  apt_key:
10
10
  id: ACCC4CF8
@@ -15,17 +15,17 @@
15
15
  - repo
16
16
 
17
17
  - name: Add PostgreSQL official APT repository
18
- when: ansible_os_family == 'Debian'
18
+ when: ansible_facts["os_family"] == 'Debian'
19
19
  become: yes
20
20
  apt_repository:
21
- repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main"
21
+ repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_facts[\"distribution_release\"]}}-pgdg main"
22
22
  tags:
23
23
  - postgresql
24
24
  - db
25
25
  - repo
26
26
 
27
27
  - name: Install PostgreSQL
28
- when: ansible_os_family == 'Debian'
28
+ when: ansible_facts["os_family"] == 'Debian'
29
29
  become: yes
30
30
  apt:
31
31
  name: "postgresql-{{postgresql_version}}"
@@ -38,7 +38,7 @@
38
38
  - deps
39
39
 
40
40
  - name: Install dependencies for the Ansible module
41
- when: ansible_os_family == 'Debian'
41
+ when: ansible_facts["os_family"] == 'Debian'
42
42
  become: yes
43
43
  apt:
44
44
  name: "{{item}}"
@@ -1,3 +1,3 @@
1
1
  module Subspace
2
- VERSION = "3.0.18"
2
+ VERSION = "3.0.19"
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.18
4
+ version: 3.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
326
  - !ruby/object:Gem::Version
327
327
  version: '0'
328
328
  requirements: []
329
- rubygems_version: 3.7.2
329
+ rubygems_version: 4.0.3
330
330
  specification_version: 4
331
331
  summary: Ansible-based server provisioning for rails projects
332
332
  test_files: []