Discard useless local-fact role

certbot_on_virtu
_pollion 2020-04-16 18:35:48 +02:00
parent 4afecdeb89
commit f589c18e36
3 changed files with 0 additions and 26 deletions

View File

@ -1,5 +0,0 @@
#!/usr/bin/env ansible-playbook
---
- hosts: otis.adm.crans.org
roles:
- local-facts

View File

@ -1,17 +0,0 @@
---
- name: get git version
shell: git rev-parse HEAD
register: git_version
delegate_to: 127.0.0.1
become: false
- name: Create local_fact directory
file:
path: /etc/ansible/facts.d/
state: directory
- name: Update latest commit hash
template:
src: facts.d/hash.fact.j2
dest: /etc/ansible/facts.d/hash.fact
mode: 0644

View File

@ -1,4 +0,0 @@
{{ ansible_header | comment }}
[commit]
latest_commit_hash: {{ git_version.stdout }}