Last active
December 10, 2015 14:48
-
-
Save TuranTimur/253c99c08d0e126a66c3 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
- name: create repo file of myrepository | |
ini_file: dest=/etc/yum.repos.d/myrepository.repo | |
section="{{ item.section }}" | |
option="{{ item.option }}" | |
value="{{ item.value }}" | |
with_items: | |
- { section: 'myrepository', option: 'name', value: 'myrepository_repo'} | |
- { section: 'myrepository', option: 'baseurl', value: 'http://xxx.xxx.xxx.xxx/'} | |
- { section: 'myrepository', option: 'enabled', value: '1'} | |
- { section: 'myrepository', option: 'gpgcheck', value: '0'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment