diff options
Diffstat (limited to '')
-rw-r--r-- | roles/my_dotfiles/README.md | 3 | ||||
-rw-r--r-- | roles/my_dotfiles/tasks/main.yml | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/roles/my_dotfiles/README.md b/roles/my_dotfiles/README.md new file mode 100644 index 0000000..da82fdd --- /dev/null +++ b/roles/my_dotfiles/README.md @@ -0,0 +1,3 @@ +This role sets up [my dotfiles]. Not really usable for anybody else. + +[my dotfiles]: https://github.com/egor-tensin/linux-home diff --git a/roles/my_dotfiles/tasks/main.yml b/roles/my_dotfiles/tasks/main.yml new file mode 100644 index 0000000..511483e --- /dev/null +++ b/roles/my_dotfiles/tasks/main.yml @@ -0,0 +1,12 @@ +- name: Pull repositories + ansible.builtin.git: + accept_hostkey: true + dest: "~/workspace/personal/{{ item }}" + repo: "git@github.com:egor-tensin/{{ item }}.git" + loop: + - linux-home + +- name: Run setup.sh + ansible.builtin.command: ./setup.sh + args: + chdir: ~/workspace/personal/linux-home |