diff options
| -rw-r--r-- | group_vars/all.yml | bin | 4655 -> 4273 bytes | |||
| -rw-r--r-- | group_vars/all.yml.example | 8 | ||||
| -rw-r--r-- | roles/dotfiles/tasks/main.yml | 8 |
3 files changed, 9 insertions, 7 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml Binary files differindex 9e7970fa..a2e1f0c6 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml diff --git a/group_vars/all.yml.example b/group_vars/all.yml.example index 7d204bd8..bf2eb820 100644 --- a/group_vars/all.yml.example +++ b/group_vars/all.yml.example @@ -45,18 +45,12 @@ dotfiles_repo_url: "https://git.sr.ht/~a14m/.rc" dotfiles_setup_script: | set -e - rm -f ~/.bash_profile + rm -f ~/.bash_profile ~/.bashrc cd ~/.rc stow --no-folding --adopt . git restore . git remote set-url origin [email protected]:~a14m/.rc - ln -sf ~/.rc/.gnupg/pinentry-wrapper ~/.local/bin/pinentry-wrapper - envsubst < ~/.gnupg/gpg-agent.conf.template > ~/.gnupg/gpg-agent.conf - chmod 0700 ~/.gnupg - gpgconf --kill gpg-agent 2>/dev/null || true - gpg-connect-agent /bye 2>/dev/null || true - password_store_repo_url: "[email protected]:a14m/.pass" vimrc_repo_url: "[email protected]:~a14m/.vim" vimrc_setup_script: | diff --git a/roles/dotfiles/tasks/main.yml b/roles/dotfiles/tasks/main.yml index 412b2723..8a8b0210 100644 --- a/roles/dotfiles/tasks/main.yml +++ b/roles/dotfiles/tasks/main.yml @@ -12,7 +12,15 @@ ansible.builtin.shell: cmd: "{{ dotfiles_setup_script }}" executable: "/bin/bash" + register: dotfile_setup changed_when: true tags: # Since the script will report changed every time (even thought it's idempotent) - molecule-idempotence-notest + +- name: "Show dotfile setup output" + ansible.builtin.debug: + var: dotfile_setup.stdout + tags: + # Since this doesn't run on idempotence testing + - molecule-idempotence-notest |
