Changeset - 750530fa9bb1
[Not reviewed]
4 4 0
Branko Majic (branko) - 2 months ago 2024-08-30 14:24:15
branko@majic.rs
MAR-239: Dropped support for Debian 11 Bullseye from the ldap_server role:

- Debian 12 Bookworm and upwards no longer install/configure rsyslog
by default, drop the related tests, tasks, and configuration files.
8 files changed with 0 insertions and 144 deletions:
0 comments (0 inline, 0 general)
roles/ldap_server/files/slapd_logrotate
Show inline comments
 
deleted file
roles/ldap_server/files/slapd_rsyslog.conf
Show inline comments
 
deleted file
roles/ldap_server/handlers/main.yml
Show inline comments
 
---
 

	
 
- name: Restart rsyslog
 
  service:
 
    name: rsyslog
 
    state: restarted
 
  when: "ansible_distribution_release == 'bullseye'"
 

	
 
- name: Restart slapd
 
  service:
 
    name: slapd
roles/ldap_server/molecule/default/molecule.yml
Show inline comments
 
@@ -26,35 +26,6 @@ platforms:
 
        network_name: private_network
 
        type: static
 

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

	
 
  - name: parameters-optional-bullseye
 
    groups:
 
      - parameters-optional
 
      - backup-server
 
    box: debian/bullseye64
 
    memory: 256
 
    cpus: 1
 
    provider_raw_config_args:
 
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.32
 
        network_name: private_network
 
        type: static
 

	
 
  - name: parameters-mandatory-bookworm
 
    groups:
 
      - parameters-mandatory
roles/ldap_server/molecule/default/prepare.yml
Show inline comments
 
@@ -23,10 +23,6 @@
 
          - "{{ item.name }}"
 
          - "{{ item.fqdn }}"
 
      with_items:
 
        - name: parameters-mandatory-bullseye_ldap
 
          fqdn: parameters-mandatory
 
        - name: parameters-optional-bullseye_ldap
 
          fqdn: parameters-optional
 
        - name: parameters-mandatory-bookworm_ldap
 
          fqdn: parameters-mandatory
 
        - name: parameters-optional-bookworm_ldap
 
@@ -83,8 +79,6 @@
 
        mode: 0644
 
        state: present
 
      with_dict:
 
        192.168.56.31: parameters-mandatory-bullseye
 
        192.168.56.32: parameters-optional-bullseye
 
        192.168.56.21: parameters-mandatory-bookworm
 
        192.168.56.22: parameters-optional-bookworm
 

	
roles/ldap_server/molecule/default/tests/test_default_bookworm.py
Show inline comments
 
deleted file
roles/ldap_server/molecule/default/tests/test_default_bullseye.py
Show inline comments
 
deleted file
roles/ldap_server/tasks/main.yml
Show inline comments
 
@@ -57,26 +57,6 @@
 
    state: started
 
    enabled: true
 

	
 
- name: Deploy system logger configuration file for slapd
 
  copy:
 
    src: slapd_rsyslog.conf
 
    dest: /etc/rsyslog.d/slapd.conf
 
    owner: root
 
    group: root
 
    mode: 0644
 
  when: "ansible_distribution_release == 'bullseye'"
 
  notify:
 
    - Restart rsyslog
 

	
 
- name: Deploy configuration file for log rotation of slapd logs
 
  copy:
 
    src: slapd_logrotate
 
    dest: /etc/logrotate.d/slapd
 
    owner: root
 
    group: root
 
    mode: 0644
 
  when: "ansible_distribution_release == 'bullseye'"
 

	
 
- name: Change log level for slapd
 
  ldap_attr:
 
    dn: cn=config
0 comments (0 inline, 0 general)