Merge "Add edit-secrets script to bridge.o.o"
This commit is contained in:
commit
abee79164b
@ -23,6 +23,7 @@
|
||||
- root-keys
|
||||
- ansible-cron
|
||||
- cloud-launcher-cron
|
||||
- edit-secrets-script
|
||||
tasks:
|
||||
- name: Allow Zuul to trigger Ansible
|
||||
authorized_key:
|
||||
|
3
playbooks/roles/edit-secrets-script/README.rst
Normal file
3
playbooks/roles/edit-secrets-script/README.rst
Normal file
@ -0,0 +1,3 @@
|
||||
This role installs a script called `edit-secrets` to /usr/local/bin
|
||||
that allows you to safely edit the secrets file without needing to
|
||||
manage gpg-agent yourself.
|
2
playbooks/roles/edit-secrets-script/files/edit-secrets
Normal file
2
playbooks/roles/edit-secrets-script/files/edit-secrets
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
gpg-agent --daemon emacs /root/passwords/passwords.gpg
|
5
playbooks/roles/edit-secrets-script/tasks/main.yaml
Normal file
5
playbooks/roles/edit-secrets-script/tasks/main.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
- name: Copy edit-secrets script
|
||||
copy:
|
||||
mode: 0750
|
||||
src: edit-secrets
|
||||
dest: /usr/local/bin/edit-secrets
|
Loading…
x
Reference in New Issue
Block a user