diff --git a/main.yml b/main.yml index 0118ed0..80820df 100644 --- a/main.yml +++ b/main.yml @@ -1,4 +1,4 @@ --- - hosts: localhost roles: - - install_packages + - configure_git diff --git a/roles/configure_git/tasks/main.yml b/roles/configure_git/tasks/main.yml index 09c6320..eeb7551 100644 --- a/roles/configure_git/tasks/main.yml +++ b/roles/configure_git/tasks/main.yml @@ -1,11 +1,15 @@ --- -- name: Update Packages - ansible.builtin.apt: - upgrade: dist - update_cache: true +- git_config: + name: core.editor + scope: global + value: vim -- name: Install desired packages - ansible.builtin.apt: - pkg: - - foo - - foo-tools +- git_config: + name: user.name + scope: global + value: chatton + +- git_config: + name: user.email + scope: global + value: github.qpeyb@simplelogin.fr \ No newline at end of file