diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-31 23:44:54 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-31 23:44:54 +0200 |
commit | 727ab17a644d52105746e18c301cf733b1181507 (patch) | |
tree | 71113c6efae3074899de965aee5489cb76362f8e /roles/dotfiles | |
parent | downgrade Ansible (diff) | |
download | maintenance-727ab17a644d52105746e18c301cf733b1181507.tar.gz maintenance-727ab17a644d52105746e18c301cf733b1181507.zip |
move Ansible files to src/
Diffstat (limited to 'roles/dotfiles')
-rw-r--r-- | roles/dotfiles/defaults/main.yml | 1 | ||||
-rw-r--r-- | roles/dotfiles/tasks/main.yml | 27 |
2 files changed, 0 insertions, 28 deletions
diff --git a/roles/dotfiles/defaults/main.yml b/roles/dotfiles/defaults/main.yml deleted file mode 100644 index 0ce4769..0000000 --- a/roles/dotfiles/defaults/main.yml +++ /dev/null @@ -1 +0,0 @@ -dotfiles_user: egor diff --git a/roles/dotfiles/tasks/main.yml b/roles/dotfiles/tasks/main.yml deleted file mode 100644 index 4230aac..0000000 --- a/roles/dotfiles/tasks/main.yml +++ /dev/null @@ -1,27 +0,0 @@ -- name: ssh-agent hack - ansible.posix.acl: - path: "{{ item }}" - etype: user - entity: "{{ dotfiles_user }}" - permissions: rwx - state: present - loop: - - "{{ ansible_env.SSH_AUTH_SOCK | dirname }}" - - "{{ ansible_env.SSH_AUTH_SOCK }}" - -- name: Update my dotfiles - become: true - become_user: "{{ dotfiles_user }}" - block: - - 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 |