diff --git a/tasks/user_config_file.yml b/tasks/user_config_file.yml deleted file mode 100644 index 5bb5784..0000000 --- a/tasks/user_config_file.yml +++ /dev/null @@ -1,22 +0,0 @@ -- name: clone user repository - git: - dest: ~/conf2 # required. The path of where the repository should be checked out. This parameter is required, unless C(clone) is set to C(no). - repo: ssh://git@pi2/vincent/conf2.git # required. git, SSH, or HTTP(S) protocol address of the git repository. - clone: yes # not required. If C(no), do not clone the repository if it does not exist locally - force: no - update: no - accept_hostkey: yes - - -- name: pass user shell to zsh - user: - name: "{{username}}" # required. Name of the user to create, remove or modify. - shell: /bin/zsh # not required. Optionally set the user's shell.,On macOS, before version 2.5, the default shell for non-system users was /usr/bin/false. Since 2.5, the default shell for non-system users on macOS is /bin/bash. - state: present # not required. choices: absent;present. Whether the account should exist or not, taking action if the state is different from what is stated. - become: yes - -- name: apply stow config - shell: stow * - args: - chdir: ~/conf2 - creates: "~/.zshrc.d/alias" # not required. a filename, when it already exists, this step will B(not) be run.