From 9445a3afcd83031424c71b248c171132af2871c3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 15 Aug 2023 14:35:15 +0200 Subject: import my_dotfiles role --- roles/my_dotfiles/README.md | 3 +++ roles/my_dotfiles/tasks/main.yml | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 roles/my_dotfiles/README.md create mode 100644 roles/my_dotfiles/tasks/main.yml (limited to 'roles') 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 -- cgit v1.2.3