mirror of
https://github.com/rocky-linux/ansible-role-ipa-getcert.git
synced 2024-12-22 08:28:31 +00:00
fix lint
This commit is contained in:
parent
29c04c17ba
commit
baa38c2f5c
@ -4,5 +4,11 @@ galaxy_info:
|
||||
company: Rocky Linux Foundation
|
||||
license: MIT
|
||||
min_ansible_version: 2.8
|
||||
galaxy_tags: []
|
||||
platforms:
|
||||
- name: EL
|
||||
versions:
|
||||
- 7
|
||||
- 8
|
||||
galaxy_tags:
|
||||
- freeipa
|
||||
dependencies: []
|
||||
|
@ -5,6 +5,7 @@
|
||||
shell: /usr/sbin/ipa-client-install --unattended 2>&1 | grep "already configured"
|
||||
register: ipacheck
|
||||
ignore_errors: true
|
||||
changed_when: false
|
||||
|
||||
- name: Check certificate existence
|
||||
stat:
|
||||
@ -73,7 +74,8 @@
|
||||
group: "{{ item.owner | default(ipa_getcert_owner_default) }}"
|
||||
mode: '0640'
|
||||
with_items: "{{ ipa_getcert_requested_hostnames }}"
|
||||
when: ipa_getcert_chain
|
||||
when:
|
||||
- ipa_getcert_chain
|
||||
- ipa_cert_request.rc == 0
|
||||
when:
|
||||
- ipacheck.rc == 0
|
||||
- ipa_cert_request.rc == 0
|
||||
|
Loading…
Reference in New Issue
Block a user