Somewhere, Something Incredible Is Waiting To Be Known !!!
(Move to ...)
Home
▼
Wednesday, 10 July 2019
Ansible playbook loop with condition example
tasks:
- name: Create file
file:
path: "{{ item.path }}"
state: "{{ item.state }}"
loop:
- { path: '/tmp/ragx' , state: 'touch' }
when: item.path == '/tmp/raghu'
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment