Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.3.4 - Ensure FTP client is not installed - wrong conditional #137

Open
ipruteanu-sie opened this issue Dec 7, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@ipruteanu-sie
Copy link
Contributor

Describe the Issue
wrong variable used for 2.3.4.

Expected Behavior(rhel9cis_FTP_client)

- name: "2.3.4 | PATCH | Ensure FTP client is not installed"
  ansible.builtin.package:
      name: ftp
      state: absent
  when:
      - not rhel9cis_ftp_client
      - "'ftp' in ansible_facts.packages"
      - rhel9cis_rule_2_3_4

Actual Behavior(rhel9cis_TFTP_client)

- name: "2.3.4 | PATCH | Ensure FTP client is not installed"
  ansible.builtin.package:
      name: ftp
      state: absent
  when:
      - not rhel9cis_tftp_client
      - "'ftp' in ansible_facts.packages"
      - rhel9cis_rule_2_3_4

Control(s) Affected
2.3.4.

Environment (please complete the following information):

  • branch being used: [e.g. devel]

Possible Solution
PR afterwards.

@ipruteanu-sie ipruteanu-sie added the bug Something isn't working label Dec 7, 2023
@uk-bolly uk-bolly self-assigned this Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants