mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-08 06:13:21 +00:00
Since we are using docker for running the tests we can no longer rely on groups.ipaserver[0] as the managed host hostname.
16 lines
340 B
YAML
16 lines
340 B
YAML
---
|
|
- name: Clean up certificates
|
|
hosts: localhost
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
- name: Run generate-certificates.sh
|
|
command: >
|
|
/bin/bash
|
|
generate-certificates.sh delete "{{ item }}"
|
|
args:
|
|
chdir: "{{ playbook_dir }}"
|
|
with_items:
|
|
- "{{ groups.ipaserver[0] }}"
|
|
- "{{ groups.ipareplicas[0] }}"
|