Created
June 7, 2017 14:48
-
-
Save hoto/ef2b79f23fcf73674903e4ecf7fbe90f to your computer and use it in GitHub Desktop.
append line in file using ansible
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: kernel and python-chardet updates are disabled | |
replace: | |
path: /etc/dnf/dnf.conf | |
regexp: '(\s+exclude=.*)$' | |
replace: '\1 kernel* python-chardet' | |
become: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment