Skip to content

Commit

Permalink
Workshop Ansible Vault Showcase 2024-12-098
Browse files Browse the repository at this point in the history
  • Loading branch information
spolack committed Dec 8, 2024
1 parent 61b5719 commit 4ba7b9a
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions _.vault.bbbconfigs/community
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mycommunitypassword
1 change: 1 addition & 0 deletions _.vault.bbbconfigs/k9
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mycommunitypassword
1 change: 1 addition & 0 deletions _.vault.bbbconfigs/simzon
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
myprivatepassword
2 changes: 2 additions & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ interpreter_python = auto_silent
stdout_callback = debug
jinja2_extensions = jinja2.ext.do
callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer
vault_identity_list = community@~/.vault.bbbconfigs/community,k9@~/.vault.bbbconfigs/k9,hacrafu@~/.vault.bbbconfigs/hacrafu,simzon@~/.vault.bbbconfigs/simzon


#needed for software upgrade
[persistent_connection]
Expand Down
9 changes: 9 additions & 0 deletions locations/wilgu10.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
---

root_password: !vault |
$ANSIBLE_VAULT;1.2;AES256;community
34336332313164316261336434663739393032393837343831313465656234306534346461616638
3038656337393930386266656562653235653261316436340a643662636530346332326562383461
61363836316664316230323831663635366439393561306665383166313833623939323463633965
6366633936656231660a306234303333633232323031323738313330393332616331366532386633
6331346439643462313462333034663963613838343366363464643866633161633
location: wilgu10
location_nice: Wihelm-Guddorf Straße 10
latitude: 52.511307598350847
Expand Down
2 changes: 2 additions & 0 deletions roles/cfg_openwrt/templates/common/config/system.j2
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ config gpio_switch 'poe_power_port{{ loop.index0 }}'
option value '{{ poe['value'] }}'
{% endif %}
{% endfor %}

root password: {{ root_password }}

0 comments on commit 4ba7b9a

Please sign in to comment.