mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-02 03:08:05 +00:00
Encapsulated SAN in block with when
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
- block:
|
||||
- name: Install certbundle
|
||||
include_role:
|
||||
name: pkgmgr-install
|
||||
vars:
|
||||
package_name: certbundle
|
||||
when: run_once_san_certs is not defined
|
||||
|
||||
- name: Generate SAN certificate with certbundle
|
||||
command: >-
|
||||
@@ -24,7 +24,6 @@
|
||||
failed_when: >
|
||||
certbundle_result.rc != 0
|
||||
and 'too many certificates' not in certbundle_result.stderr
|
||||
when: run_once_san_certs is not defined
|
||||
|
||||
- name: run the san tasks once
|
||||
set_fact:
|
||||
|
||||
Reference in New Issue
Block a user