diff --git a/playbooks/cert/cert-hold.yml b/playbooks/cert/cert-hold.yml index bd9ab85ab9..84a6a71150 100644 --- a/playbooks/cert/cert-hold.yml +++ b/playbooks/cert/cert-hold.yml @@ -1,3 +1,4 @@ +--- - name: Certificate manage example hosts: ipaserver become: false diff --git a/tests/config/test_config_sid.yml b/tests/config/test_config_sid.yml index fdae1fba79..38840500dd 100644 --- a/tests/config/test_config_sid.yml +++ b/tests/config/test_config_sid.yml @@ -30,7 +30,7 @@ check_mode: yes register: sid_disabled - - name: Ensure netbios_name can't be changed without SID enabled. # noqa 503 + - name: Ensure netbios_name can't be changed without SID enabled. # noqa no-handler ipaconfig: ipaadmin_password: SomeADMINpassword ipaapi_context: "{{ ipa_context | default(omit) }}" @@ -39,7 +39,7 @@ failed_when: not result.failed and "SID generation must be enabled" in result.msg when: sid_disabled.changed - - name: Ensure SIDs can't be changed without SID enabled. # noqa 503 + - name: Ensure SIDs can't be changed without SID enabled. # noqa no-handler ipaconfig: ipaadmin_password: SomeADMINpassword ipaapi_context: "{{ ipa_context | default(omit) }}" diff --git a/tests/dnsrecord/test_dnsrecord.yml b/tests/dnsrecord/test_dnsrecord.yml index b203d36600..b7f83d3b9c 100644 --- a/tests/dnsrecord/test_dnsrecord.yml +++ b/tests/dnsrecord/test_dnsrecord.yml @@ -1549,7 +1549,7 @@ - name: Cleanup test environment. ansible.builtin.include_tasks: env_cleanup.yml - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1] become: no diff --git a/tests/group/test_group.yml b/tests/group/test_group.yml index 8f6a0fa97f..4a26400753 100644 --- a/tests/group/test_group.yml +++ b/tests/group/test_group.yml @@ -283,7 +283,7 @@ register: result failed_when: result.changed or result.failed - # user + # user - name: Ensure users user1, user2 and user3 are present in group group1 ipagroup: diff --git a/tests/group/test_groups_absent.yml b/tests/group/test_groups_absent.yml index 3238f4e24d..9217abdfe4 100644 --- a/tests/group/test_groups_absent.yml +++ b/tests/group/test_groups_absent.yml @@ -9,7 +9,7 @@ tasks: - name: Include groups.json ansible.builtin.include_vars: - file: groups.json # noqa 505 + file: groups.json - name: Initialize groups_names ansible.builtin.set_fact: diff --git a/tests/group/test_groups_present.yml b/tests/group/test_groups_present.yml index 71ed659d39..d71536fabf 100644 --- a/tests/group/test_groups_present.yml +++ b/tests/group/test_groups_present.yml @@ -9,7 +9,7 @@ tasks: - name: Include groups.json ansible.builtin.include_vars: - file: groups.json # noqa 505 + file: groups.json - name: Groups present len:{{ group_list | length }} ipagroup: diff --git a/tests/group/test_groups_present_slice.yml b/tests/group/test_groups_present_slice.yml index 3a5593a2fc..f7043d4e0b 100644 --- a/tests/group/test_groups_present_slice.yml +++ b/tests/group/test_groups_present_slice.yml @@ -11,7 +11,7 @@ tasks: - name: Include groups.json ansible.builtin.include_vars: - file: groups.json # noqa 505 + file: groups.json - name: Size of groups slice. ansible.builtin.debug: diff --git a/tests/host/certificate/test_host_certificate.yml b/tests/host/certificate/test_host_certificate.yml index 33b14291c3..fb070dc7e6 100644 --- a/tests/host/certificate/test_host_certificate.yml +++ b/tests/host/certificate/test_host_certificate.yml @@ -99,7 +99,7 @@ register: result failed_when: result.changed or result.failed - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1, 2, 3] diff --git a/tests/host/certificate/test_hosts_certificate.yml b/tests/host/certificate/test_hosts_certificate.yml index dbc0263223..679f5f67e2 100644 --- a/tests/host/certificate/test_hosts_certificate.yml +++ b/tests/host/certificate/test_hosts_certificate.yml @@ -98,7 +98,7 @@ register: result failed_when: not result.changed or result.failed - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1, 2, 3] diff --git a/tests/idoverrideuser/test_idoverrideuser.yml b/tests/idoverrideuser/test_idoverrideuser.yml index 24dfd6c23c..5ff1da8035 100644 --- a/tests/idoverrideuser/test_idoverrideuser.yml +++ b/tests/idoverrideuser/test_idoverrideuser.yml @@ -558,7 +558,7 @@ name: test_idview state: absent - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1, 2, 3] diff --git a/tests/service/certificate/test_service_certificate.yml b/tests/service/certificate/test_service_certificate.yml index d5ab12faba..cbc04b432c 100644 --- a/tests/service/certificate/test_service_certificate.yml +++ b/tests/service/certificate/test_service_certificate.yml @@ -214,7 +214,7 @@ update_dns: yes state: absent - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1, 2] diff --git a/tests/service/certificate/test_service_certificate_newline.yml b/tests/service/certificate/test_service_certificate_newline.yml index 01f7c536d6..927d5037c6 100644 --- a/tests/service/certificate/test_service_certificate_newline.yml +++ b/tests/service/certificate/test_service_certificate_newline.yml @@ -192,7 +192,7 @@ register: result failed_when: not result.changed or result.failed - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1, 2, 3] diff --git a/tests/service/certificate/test_services_certificate_newline.yml b/tests/service/certificate/test_services_certificate_newline.yml index 33815a0155..5b326524e2 100644 --- a/tests/service/certificate/test_services_certificate_newline.yml +++ b/tests/service/certificate/test_services_certificate_newline.yml @@ -306,7 +306,7 @@ register: result failed_when: not result.changed or result.failed - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [11, 12, 13, 21, 22, 23, 31, 32, 33] diff --git a/tests/service/test_service_disable.yml b/tests/service/test_service_disable.yml index 068fecffd7..3152280a8a 100644 --- a/tests/service/test_service_disable.yml +++ b/tests/service/test_service_disable.yml @@ -100,7 +100,7 @@ - name: Destroy Kerberos tickets. ansible.builtin.shell: kdestroy -A -q -c ${KRB5CCNAME} - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1] diff --git a/tests/user/certificate/test_user_certificate.yml b/tests/user/certificate/test_user_certificate.yml index cad033aae4..3f45e9be8b 100644 --- a/tests/user/certificate/test_user_certificate.yml +++ b/tests/user/certificate/test_user_certificate.yml @@ -80,7 +80,7 @@ register: result failed_when: not result.changed or result.failed - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1, 2, 3] diff --git a/tests/user/certificate/test_users_certificate.yml b/tests/user/certificate/test_users_certificate.yml index 55d73e2301..21b416f219 100644 --- a/tests/user/certificate/test_users_certificate.yml +++ b/tests/user/certificate/test_users_certificate.yml @@ -93,7 +93,7 @@ register: result failed_when: not result.changed or result.failed - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1, 2, 3] diff --git a/tests/user/certmapdata/test_user_certmapdata.yml b/tests/user/certmapdata/test_user_certmapdata.yml index 7bb71ddd93..7263730916 100644 --- a/tests/user/certmapdata/test_user_certmapdata.yml +++ b/tests/user/certmapdata/test_user_certmapdata.yml @@ -225,7 +225,7 @@ register: result failed_when: not result.changed or result.failed - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1, 2, 3] diff --git a/tests/user/certmapdata/test_users_certmapdata.yml b/tests/user/certmapdata/test_users_certmapdata.yml index 83a4ce8c4f..36c9133152 100644 --- a/tests/user/certmapdata/test_users_certmapdata.yml +++ b/tests/user/certmapdata/test_users_certmapdata.yml @@ -161,7 +161,7 @@ register: result failed_when: not result.changed or result.failed - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1, 2, 3] diff --git a/tests/user/test_users_invalid_cert.yml b/tests/user/test_users_invalid_cert.yml index 50600e697f..cf9878edcc 100644 --- a/tests/user/test_users_invalid_cert.yml +++ b/tests/user/test_users_invalid_cert.yml @@ -54,7 +54,7 @@ register: result failed_when: not result.changed or result.failed - - name: Remove certificate files. # noqa: deprecated-command-syntax + - name: Remove certificate files. ansible.builtin.shell: cmd: rm -f "private{{ item }}.key" "cert{{ item }}.pem" "cert{{ item }}.der" "cert{{ item }}.b64" with_items: [1, 2]