mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +00:00
yamllint: All tasks need to be named
yamllint is failing for unnamed tasks. All block and include_tasks tasks are now named.
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
|
||||
tasks:
|
||||
# setup
|
||||
- ansible.builtin.include_tasks: ../env_freeipa_facts.yml
|
||||
- name: Include tasks ../env_freeipa_facts.yml
|
||||
ansible.builtin.include_tasks: ../env_freeipa_facts.yml
|
||||
|
||||
# GET FQDN_AT_DOMAIN
|
||||
|
||||
@@ -136,7 +137,8 @@
|
||||
|
||||
# service
|
||||
|
||||
- block:
|
||||
- name: Execute tests if ipa_verison >= 4.7.0
|
||||
block:
|
||||
|
||||
- name: Ensure service "{{ 'HTTP/' + fqdn_at_domain }}" is present in group group1
|
||||
ipagroup:
|
||||
|
||||
@@ -6,9 +6,11 @@
|
||||
|
||||
tasks:
|
||||
|
||||
- ansible.builtin.include_tasks: ../env_freeipa_facts.yml
|
||||
- name: Include tasks ../env_freeipa_facts.yml
|
||||
ansible.builtin.include_tasks: ../env_freeipa_facts.yml
|
||||
|
||||
- block:
|
||||
- name: Execute group tests if trust test environment is supported
|
||||
block:
|
||||
|
||||
- name: Add nonposix group.
|
||||
ipagroup:
|
||||
|
||||
@@ -204,7 +204,8 @@
|
||||
|
||||
# EXTERNAL MEMBER TEST (REQUIRES AD)
|
||||
|
||||
- block:
|
||||
- name: Execute group tests if trust test environment is supported
|
||||
block:
|
||||
|
||||
- name: Ensure users testuser1, testuser2 and testuser3 are present in group externalgroup
|
||||
ipagroup:
|
||||
|
||||
@@ -9,9 +9,11 @@
|
||||
ad_domain: "{{ test_ad_domain | default('ad.ipa.test') }}"
|
||||
|
||||
tasks:
|
||||
- ansible.builtin.include_tasks: ../env_freeipa_facts.yml
|
||||
- name: Include tasks ../env_freeipa_facts.yml
|
||||
ansible.builtin.include_tasks: ../env_freeipa_facts.yml
|
||||
|
||||
- block:
|
||||
- name: Execute tests if ipa_verison >= 4.8.7 and trust test environment is supported
|
||||
block:
|
||||
- name: Create idoverrideuser.
|
||||
ansible.builtin.shell: |
|
||||
kinit -c idoverride_cache admin <<< SomeADMINpassword
|
||||
|
||||
@@ -5,9 +5,10 @@
|
||||
gather_facts: false
|
||||
|
||||
tasks:
|
||||
- ansible.builtin.include_tasks: ../env_freeipa_facts.yml
|
||||
- name: Include tasks ../env_freeipa_facts.yml
|
||||
ansible.builtin.include_tasks: ../env_freeipa_facts.yml
|
||||
|
||||
- name: Tests requiring IPA version 4.8.4+
|
||||
- name: Execute tests if ipa_verison >= 4.8.4
|
||||
block:
|
||||
- name: Ensure user manangeruser1 and manageruser2 is absent
|
||||
ipauser:
|
||||
|
||||
Reference in New Issue
Block a user