Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: run command in container
- delegate_to: docker_container_name
- raw: 'echo {{ item }} > /some/path/file.sh && chmod +x /some/path/file.sh'
- register: installed
- with_file:
- - '/tmp/some_file'
- changed_when: 'installed.stderr != ""'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement