Changeset - 12e2e1882f77
[Not reviewed]
1 4 0
Branko Majic (branko) - 8 months ago 2024-02-25 20:39:55
branko@majic.rs
MAR-192: Added support for Debian 12 Bookworm to backup_client role:

- Drop the orphan config file for backup server helper.
5 files changed with 34 insertions and 3 deletions:
0 comments (0 inline, 0 general)
docs/rolereference.rst
Show inline comments
 
@@ -2370,6 +2370,7 @@ Distribution compatibility
 
Role is compatible with the following distributions:
 

	
 
- Debian 11 (Bullseye)
 
- Debian 12 (Bookworm)
 

	
 

	
 
Examples
roles/backup_client/meta/main.yml
Show inline comments
 
@@ -9,3 +9,4 @@ galaxy_info:
 
    - name: Debian
 
      versions:
 
        - 11
 
        - 12
roles/backup_client/molecule/default/molecule.yml
Show inline comments
 
@@ -17,8 +17,9 @@ lint:
 
# which will easily exceed the maximum username length of 32. Yay
 
# stupid legacy design decisions!
 
platforms:
 

	
 
  - name: backup-server
 
    box: debian/bullseye64
 
    box: debian/bookworm64
 
    memory: 512
 
    cpus: 1
 
    provider_raw_config_args:
 
@@ -57,6 +58,34 @@ platforms:
 
        network_name: private_network
 
        type: static
 

	
 
  - name: param-mandatory-bookworm
 
    groups:
 
      - parameters-mandatory
 
    box: debian/bookworm64
 
    memory: 256
 
    cpus: 1
 
    provider_raw_config_args:
 
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.20
 
        network_name: private_network
 
        type: static
 

	
 
  - name: param-optional-bookworm
 
    groups:
 
      - parameters-optional
 
    box: debian/bookworm64
 
    memory: 256
 
    cpus: 1
 
    provider_raw_config_args:
 
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.21
 
        network_name: private_network
 
        type: static
 

	
 
provisioner:
 
  name: ansible
 
  config_options:
roles/backup_client/molecule/default/prepare.yml
Show inline comments
 
@@ -120,5 +120,7 @@
 
    backup_users:
 
      - name: bak-param-mandatory-bullseye
 
        key: "{{ lookup('file', 'tests/data/ssh/parameters-mandatory.pub') }}"
 
      - name: bak-param-mandatory-bookworm
 
        key: "{{ lookup('file', 'tests/data/ssh/parameters-mandatory.pub') }}"
 
      - name: backupuser
 
        key: "{{ lookup('file', 'tests/data/ssh/parameters-optional.pub') }}"
roles/backup_client/molecule/default/tests/data/backup_server_custom-sshd_config
Show inline comments
 
deleted file
0 comments (0 inline, 0 general)