Skip to content

Commit

Permalink
fix: password rotation (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
moroine authored Nov 8, 2024
1 parent fe9f4a7 commit ee45a83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .bin/zsh-completion
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ _mna-infra_completion() {
"ssh\:known_hosts\:print:Print SSH known host for a product including all servers"
"ssh\:known_hosts\:update:Update SSH known host for a product including all servers"
"ssh\:config:Update your local SSH config for a product including all servers"
"password\:rotate:Rotate password of the deploy user"
)

# Set completion behavior based on the current word
Expand Down
2 changes: 2 additions & 0 deletions .infra/ansible/password-rotate.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
- hosts: all
become: true
vars_files:
- "{{playbook_dir}}/../vault/vault.yml"
tasks:
- name: Rotate password for user deploy
ansible.builtin.shell:
Expand Down

0 comments on commit ee45a83

Please sign in to comment.