This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Prepare localhost for Ansible usage | |
hosts: localhost | |
connection: local | |
gather_facts: yes | |
tasks: | |
- name: Generate SSH key | |
user: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server1-hostname ansible_user='server1-user' ansible_password='server1-password' | |
server2-hostname ansible_user='server2-user' ansible_password='server2-password' |