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
true &>/dev/null </dev/tcp/$HOSTNAMEorIP/$PORT && echo open || echo closed | |
ansible all -m win_ping -i $IP, --extra-vars "ansible_user=$username ansible_password=$password ansible_port=5986 ansible_connection=winrm ansible_winrm_server_cert_validation=ignore" |
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
#This script will install the cloudformation helper work on Ubuntu 18. | |
#Some values are hard coded. Make sure to update where needed, or add to the parameters section. | |
#This would probably work on other distros, but I have not tested yet. Try it out. | |
#Just make sure to change things like apt to yum if trying on another OS. | |
Parameters: | |
EnvironmentSize: | |
Type: String | |
Default: t3.nano | |
AllowedValues: | |
- t3.nano |