--- - name: git - gitconfig user.name git_config: name: user.name scope: global value: "root ({{ ansible_hostname }})" - name: git - gitconfig user.email git_config: name: user.email scope: global value: "admin@fet.at" - name: git - gitconfig core.editor git_config: name: core.editor scope: global value: "vim" - name: git - init etckeeper command: etckeeper init creates=/etc/.git/