- name: Install Emacs become: yes pacman: name: emacs state: present - name: Configure Emacs command: chdir: "{{ ansible_env.HOME }}/dotfiles" cmd: stow emacs creates: "{{ ansible_env.HOME }}/init.org"