Last active
May 15, 2017 14:52
-
-
Save profhase/57af3e715ec7faf5bf34d84299228591 to your computer and use it in GitHub Desktop.
role serial with variable
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
- hosts: webservers | |
serial: "{{ num_serial }}" | |
tasks: | |
- debug: inventory_hostname | |
# ansible-playbook serial_role.yml -e num_serial=3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment