Update custom user role
This commit is contained in:
parent
fb017565f4
commit
90855de87a
7 changed files with 56 additions and 48 deletions
|
|
@ -1,14 +1,10 @@
|
|||
---
|
||||
- include_vars: defaults.yml
|
||||
- include_vars: vault.yml
|
||||
# TODO: Configure ZSH correctly by reasusing the zsh role by running the commands as the new user.
|
||||
# see: https://serverfault.com/questions/662443/running-ansible-task-as-a-specific-user
|
||||
- name: Create a new user
|
||||
ansible.builtin.include_role:
|
||||
name: singleplatform-eng.users
|
||||
apply:
|
||||
become: true
|
||||
name: user
|
||||
vars:
|
||||
users:
|
||||
- username: cloudflare_ddns
|
||||
name: '-'
|
||||
password: "{{ cloudflare_ddns_user_password_hash }}"
|
||||
username: cloudflare_ddns
|
||||
password: "{{ cloudflare_ddns_user_password }}"
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
38343230616338653130383466333361323362326431303133616166373864333766366263613134
|
||||
6533376165613166646366396366646663383937303835650a343134336239613266643931393766
|
||||
62613963313431626564616239333531643361653739396363343362313035646561656239656366
|
||||
6462636435353931350a626132313565636666653839653839666465363262663365643264383331
|
||||
31316338313262636263346339653030363831643133643837333666383363616331653432326164
|
||||
36383561393561643439363931343532626335363937303432653938633439663435666234646533
|
||||
63653730633333626430656663636130663962643765303236343763383965643535653566633766
|
||||
39323166633933646162633032336335386265386237383133653865343435386530386139613061
|
||||
33343738643736306630326235313730303661333431376238363334313463363734383730343638
|
||||
65303365343433326630323066376132376465333965343930363066363561663530306261303961
|
||||
37626233623762353632653039353231623432316232323831343262343731353533343863326135
|
||||
36313836646130333431
|
||||
9
roles/cloudflare-ddns/vars/vault.yml
Normal file
9
roles/cloudflare-ddns/vars/vault.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
66356265626336393935313366363030306565343830633365383938383363376430326330633430
|
||||
6138653236396139613861393639303766633062323336310a373133336139316661383039303533
|
||||
63343563333232633166353061346630326339303062663066663464333733613164623864306264
|
||||
6165366331373734660a623664353734613037343537646135663239616239383136636562356137
|
||||
62646565626565663831396137313364626632353064633661333135636439663537343438653237
|
||||
66633733353435653031366533376463616335633131613862393764353337643665353464623939
|
||||
33613931343561316133386636613036666363663161353163306566393234323239643762386130
|
||||
35623434313161313034
|
||||
Loading…
Add table
Add a link
Reference in a new issue