added some ansible playbooks for experiments

This commit is contained in:
2021-08-29 03:35:49 +00:00
parent 93a8e11888
commit 69167a7904
7 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,17 @@
- hosts: all
remote_user: hyung-hwan
tasks:
- name: run ls
shell: ls -laF /etc
register: out
# - name: print result
# debug:
# msg: "xxx: {{ out.stdout }}"
- name: print result
debug:
msg: "xxx: {{ item }}"
loop: "{{ out.stdout_lines }}"