Created
November 30, 2017 13:18
-
-
Save jrisch/a1f27bd775f3d9e00fc73e50e73d2b6b to your computer and use it in GitHub Desktop.
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: Install Xentools on deployed vm | |
hosts: deployed_vms | |
tasks: | |
- name: Mount xentools CD | |
command: mount /dev/xvdd /mnt | |
- name: Run the xentools installer | |
command: /mnt/Linux/install.sh -n | |
- name: Unmount the xentools CD | |
command: umount /mnt | |
- name: Eject xentools CD | |
hosts: xenservers | |
tasks: | |
- name: Eject the xentools CD | |
command: xe vm-cd-eject vm={{ vmuuid.stdout }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment