Created
October 25, 2013 17:03
-
-
Save dckc/7158102 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
| > ansible-playbook -i inventory install_R.yml --ask-sudo-pass | |
| sudo password: | |
| ERROR: Syntax Error while loading YAML script, install_R.yml | |
| Note: The error may actually appear before this position: line 10, column 7 | |
| - shell: zypper lr devel:languages:R:patched | grep URI || | |
| zypper ar --type yum ${r_repo} devel:languages:R:patched |
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
| --- | |
| - name: Ensure R for SLES 11 is installed | |
| hosts: heron_id_db | |
| connection: local | |
| sudo: yes | |
| vars: | |
| r_repo: http://download.opensuse.org/repositories/devel:/languages:/R:/patched/SLE_11/ | |
| tasks: | |
| - shell: zypper lr devel:languages:R:patched | grep URI || | |
| zypper ar --type yum ${r_repo} devel:languages:R:patched | |
| - command: zypper refresh | |
| - zypper: package=R-patched state=present | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment