Created
December 19, 2018 22:33
-
-
Save rafaeltuelho/1e76b22def119273bd79d7613614761e 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: Append Docker OPTION | |
hosts: localhost | |
tasks: | |
- name: apply regex | |
replace: | |
backup: yes | |
dest: /etc/sysconfig/docker | |
regexp: '^(OPTIONS.*)(\S)$' | |
replace: '\1 --authorization-plugin=docker-novolume-plugin\2' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment