Add ansible_certificate custom fact
This commit is contained in:
parent
0ae634aed2
commit
c9b21a3286
2 changed files with 26 additions and 0 deletions
|
@ -1,4 +1,15 @@
|
|||
---
|
||||
- name: setup ansible custom facts
|
||||
file:
|
||||
dest: "{{ item }}"
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- /etc/ansible
|
||||
- /etc/ansible/facts.d
|
||||
|
||||
- name: set correct hostname
|
||||
hostname:
|
||||
name: "{{ inventory_hostname }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue