Last active
April 22, 2019 14:58
-
-
Save hgfranco/963ebc62f6dbdd9730926dbe2d1fd5f0 to your computer and use it in GitHub Desktop.
Run ansible AWS adhoc command
This file contains hidden or 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
| AWS_PROFILE=francotech ansible -i inventory/ec2.py -a "sudo systemctl restart httpd" tag_name_webserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment