only first record for fqdn
This commit is contained in:
parent
38a61c673f
commit
cb7766118a
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
- name: Set fact for mail server FQDN
|
- name: Set fact for mail server FQDN
|
||||||
set_fact:
|
set_fact:
|
||||||
mail_server_fqdn_ip: "{{ lookup('dig', mail_server_fqdn, '@1.1.1.1') }}"
|
mail_server_fqdn_ip: "{{ lookup('dig', mail_server_fqdn, '@1.1.1.1') | first }}"
|
||||||
|
|
||||||
- name: Get file certificate stats
|
- name: Get file certificate stats
|
||||||
stat:
|
stat:
|
||||||
|
|
Loading…
Reference in a new issue