crictl, crontab 추가

This commit is contained in:
havelight-ee
2022-11-09 19:25:49 +09:00
parent f0306cc692
commit f2f93db50a
6 changed files with 63 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
---
- name: key add
authorized_key:
user: ubuntu
state: present
key: "{{ lookup('file', lookup('env','HOME') + '/.ssh/id_rsa.pub') }}"
manage_dir: False
- name: user change
user:
name: "{{ username }}"
password: "{{ password | password_hash('sha512') }}"
state: present