aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/my_dotfiles/tasks
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-15 18:50:41 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-15 18:50:41 +0200
commit33f20e70d764947f144c30ec270a0cfff535678b (patch)
tree48bbaf678950b4166c7e359785e50c95d50c924e /roles/my_dotfiles/tasks
parentv0.0.14 (diff)
downloadinfra-ansible-33f20e70d764947f144c30ec270a0cfff535678b.tar.gz
infra-ansible-33f20e70d764947f144c30ec270a0cfff535678b.zip
my_dotfiles: factor out constants to defaults/
Diffstat (limited to 'roles/my_dotfiles/tasks')
-rw-r--r--roles/my_dotfiles/tasks/main.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/roles/my_dotfiles/tasks/main.yml b/roles/my_dotfiles/tasks/main.yml
index 511483e..9851658 100644
--- a/roles/my_dotfiles/tasks/main.yml
+++ b/roles/my_dotfiles/tasks/main.yml
@@ -1,12 +1,10 @@
- name: Pull repositories
ansible.builtin.git:
accept_hostkey: true
- dest: "~/workspace/personal/{{ item }}"
- repo: "git@github.com:egor-tensin/{{ item }}.git"
- loop:
- - linux-home
+ dest: '{{ my_dotfiles_dir }}'
+ repo: '{{ my_dotfiles_repo }}'
- name: Run setup.sh
ansible.builtin.command: ./setup.sh
args:
- chdir: ~/workspace/personal/linux-home
+ chdir: '{{ my_dotfiles_dir }}'