Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - name: Test Custom Modules Book
- hosts: all
- tasks:
- - name: Include the vars from the username/password file
- include_vars: default_passwords.yaml
- - name: Adding some usernames and passwords to a file
- command: "/usr/bin/echo 'This is the username: {{ username_from_file }} and this is the password: {{ password_from_file }}' >> /tmp/echo-file.txt"
Add Comment
Please, Sign In to add comment