Refactored docker roles

This commit is contained in:
2023-04-26 11:52:11 +02:00
parent 6a4439ba57
commit 1b8ff143e3
48 changed files with 107 additions and 128 deletions

View File

@@ -0,0 +1,17 @@
- name: create administrator
user:
name: administrator
update_password: on_create
password: "{{ user_administrator_initial_password | password_hash('sha512') }}"
create_home: yes
generate_ssh_key: yes
ssh_key_type: rsa
ssh_key_bits: 8192
- name: "create /home/administrator/scripts/"
file:
path: "/home/administrator/scripts"
state: directory
owner: administrator
group: administrator
mode: 0700