corrected the readme

This commit is contained in:
Gianmarco Pettinato 2021-12-25 17:27:14 +01:00
parent 69a76251a3
commit 3848f48cda
2 changed files with 19 additions and 7 deletions

View File

@ -2,4 +2,4 @@
an automated script to setup my workstation with ansible an automated script to setup my workstation with ansible
no need to download just run the script no need to download just run the script
sh -c "$(wget https://git.jatus.tech/Jatus/workstation-setup/raw/branch/main/setup.sh -O -)" ```sh -c "$(wget https://git.jatus.tech/Jatus/workstation-setup/raw/branch/main/setup.sh -O -)"```

View File

@ -15,6 +15,11 @@
- username: gianm - username: gianm
tasks: tasks:
- name: Set zsh main as shell
become: true
when: ansible_facts['os_family'] == "Debian"
shell: apt update
- name: Basic dev install - name: Basic dev install
become: true become: true
package: package:
@ -36,9 +41,16 @@
when: not zsh_dir.stat.exists when: not zsh_dir.stat.exists
shell: sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" shell: sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
# - name: Setup shell env - name: Setup shell env
# copy: copy:
# src: files/zshrc src: files/zshrc
# dest: /home/gianm/.zshrc dest: /home/gianm/.zshrc
# owner: gianm owner: gianm
# group: gianm group: gianm
- name: Setup shell env
copy:
src: files/profile
dest: /home/gianm/.profile
owner: gianm
group: gianm