Skip to content

Commit

Permalink
feat: add nanosecond to ansible inventory folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
KoLiBer committed Nov 26, 2024
1 parent cc5c565 commit 63fc51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/playbook.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

%{ if playbook != "" ~}
export ROOT=/tmp/ansible_$(date +%s)
export ROOT=/tmp/ansible_$(date +%s%N)
mkdir -p $ROOT

%{ for key, val in hosts ~}
Expand Down

0 comments on commit 63fc51e

Please sign in to comment.