From a0f41b10de681f56a33de274f828bca4b0d169d5 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 22 Jun 2026 12:20:27 -0500 Subject: [PATCH] added steps to get pushover credentials where they need to go --- roles/scripts/tasks/main.yml | 7 +++++++ roles/scripts/templates/pushover.j2 | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 roles/scripts/templates/pushover.j2 diff --git a/roles/scripts/tasks/main.yml b/roles/scripts/tasks/main.yml index 4be60bf..e94519f 100644 --- a/roles/scripts/tasks/main.yml +++ b/roles/scripts/tasks/main.yml @@ -11,3 +11,10 @@ path: "{{ ansible_facts['user_dir'] }}/dotfiles/zsh/.zshrc" line: 'export PATH="$HOME/scripts:$PATH"' state: present + +- name: Deploy pushover credentials + ansible.builtin.template: + src: pushover.j2 + dest: "{{ ansible_facts['user_dir'] }}/.pushover" + mode: "0600" + no_log: true diff --git a/roles/scripts/templates/pushover.j2 b/roles/scripts/templates/pushover.j2 new file mode 100644 index 0000000..8f44dce --- /dev/null +++ b/roles/scripts/templates/pushover.j2 @@ -0,0 +1,2 @@ +export PUSHOVER_USER={{ lookup('pipe', 'pass show pushover/user') }} +export PUSHOVER_TOKEN={{ lookup('pipe', 'pass show pushover/token') }}