ansible time 썸네일형 리스트형 Ansible playbook에서 현재 날짜 및 시간을 얻는 방법(ansible-playbook) Ansible playbook에서 현재 날짜 및 시간을 얻는 방법(ansible-playbook) ansible_date_time fact vim current_date_time1.yml --- - name: 사용자 정의 변수에 현재 날짜 및 시간 저장 hosts: all gather_facts: true tasks: # ansible_date_time 표시 - name: Debug ansible_date_time debug: var: ansible_date_time # 변수에 ansible_date_time 사용 - name: 사용자 정의 변수에 현재 날짜 및 시간 저장 set_fact: current_date_time: "{{ ansible_date_time.date }}_{{ ansible_date.. 더보기 이전 1 다음