Files @ 2d15529786b7
Branch filter:

Location: majic-ansible-roles/roles/common/meta/main.yml

branko
MAR-218: Fix linting errors related to commands doing unconditional changes:

- Tasks run during the prepare stage of test runs do not matter.
- Some of the role tasks are already effectively running only when
change _will_ happen (when it is detected via variable registered by
a previous task).
---

dependencies:
  - role: backup
    when: enable_backup
    backup_patterns_filename: common
    backup_patterns:
      - "/var/log"
      - "/etc/shadow"
      - "/var/mail"
      - "/var/spool/cron"
  - role: backup
    when: enable_backup
    backup_patterns_filename: common_extra
    backup_patterns: "{{ extra_backup_patterns }}"

galaxy_info:
  role_name: common
  namespace: azaghal
  author: Branko Majic
  description: Apply common configuration and hardening on server
  license: BSD
  min_ansible_version: "10.3"
  platforms:
    - name: Debian
      versions:
        - bookworm