Skip to content

Commit

Permalink
add dns_serial app
Browse files Browse the repository at this point in the history
  • Loading branch information
tinoschroeter committed Dec 28, 2024
1 parent 74f6ea0 commit 64b8a4d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/dns_serial
5 changes: 5 additions & 0 deletions playbook/files/dns_serial
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

date_now=$(date +%Y%m%d)
echo "${date_now}01 ; Serial"
echo -n "${date_now}01" | xclip -selection c
7 changes: 7 additions & 0 deletions playbook/roles/software/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,13 @@
mode: "774"
become: True

- name: copy dns_serial to /usr/local/bin/
ansible.builtin.copy:
src: dns_serial
dest: /usr/local/bin/dns_serial
mode: "777"
become: True

- name: copy cht.sh to /usr/local/bin/
ansible.builtin.copy:
src: cht.sh
Expand Down

0 comments on commit 64b8a4d

Please sign in to comment.