refactor: split ansible book into roles
This commit is contained in:
parent
89a7bfa789
commit
22d7e4a318
14 changed files with 983 additions and 215 deletions
33
roles/common/vars/main.yaml
Normal file
33
roles/common/vars/main.yaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# yaml-language-server: $schema=https://raw.githubusercontent.com/ansible/ansible-lint/refs/heads/main/src/ansiblelint/schemas/vars.json
|
||||
---
|
||||
users:
|
||||
- name: aleidk
|
||||
shell: /bin/sh
|
||||
system: false
|
||||
groups:
|
||||
- wheel
|
||||
password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
36376130326263316235653963663466333735313338636630326230636636663938313532356231
|
||||
6234333364653934653665353438353562313838616236310a323738346137373061366433306238
|
||||
61333637663466646631353032613431333263336436313261373637356562343834326563643637
|
||||
3861326166353836330a333563623030346563353264313333363132633238636463623761313635
|
||||
3432
|
||||
ssh_keys:
|
||||
priv: "{{ lookup('file', 'files/aleidk_key') }}"
|
||||
pub: "{{ lookup('file', 'files/aleidk_key.pub') }}"
|
||||
|
||||
- name: robo
|
||||
shell: /bin/sh
|
||||
system: true
|
||||
groups: []
|
||||
password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
65633362306631393332636364393639336561353261613037346363633737363236616262613538
|
||||
3061643566343533393838613261616362373965616538650a396638623038666635323739393038
|
||||
66313636633963306663383631376264383761343534643465663135646162643339336266646264
|
||||
6433373636316237330a343139363432653737376465633538636639626238613266646664366166
|
||||
3136
|
||||
ssh_keys:
|
||||
priv: "{{ lookup('file', 'files/robo_key') }}"
|
||||
pub: "{{ lookup('file', 'files/robo_key.pub') }}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue