blob: 8784f4f960c3276a7c472dc605b26551364c0be1 (
plain) (
tree)
|
|
- 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
- config-links
- name: Run update.sh
ansible.builtin.command: ./update.sh
args:
chdir: ~/workspace/personal/linux-home
- name: Update Vim plugins
ansible.builtin.command: ./vim_plugins.sh
args:
chdir: ~/workspace/personal/linux-home
|