Last active
May 6, 2019 13:05
-
-
Save samsulmaarif/5019430b441b2c695de31ae0ed351a81 to your computer and use it in GitHub Desktop.
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
## Ubuntu & Debian family | |
ansible docker-class -i docker-hosts -m raw -a "/usr/bin/apt install -y python" -u root | |
ansible docker-class -i docker-hosts -m ping -u root | |
## openSUSE | |
ansible all -i hosts -m raw -a "zypper install -y python" -u samsul --become --become-user root --ask-become-pass | |
ansible all -i hosts -m ping -u samsul |
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
[docker-class] | |
ip1 | |
ip2 | |
ip3 | |
dst... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment