roles: minor idempotency changes

This commit is contained in:
CPunch 2023-01-19 18:02:55 -06:00
parent e3d3ec37fd
commit c6ea8eaf38
2 changed files with 5 additions and 4 deletions

View File

@ -18,9 +18,10 @@
- zsh # :D
- python3-certbot-nginx
# TODO: make idempotent
- name: Setup default shell (zsh)
shell: chsh -s /usr/bin/zsh
- name: Setup zsh
user:
name: "{{ ansible_user }}"
shell: /usr/bin/zsh
- name: Clone Powerlevel10k theme
git:

View File

@ -1,7 +1,7 @@
---
- name: Install torrc
template:
src: torrc
src: templates/torrc
dest: /etc/tor/torrc
owner: root
group: root