Commit e7ecd1a6 authored by Florian Kempenich's avatar Florian Kempenich
Browse files

Set ZSH as default shell

parent ed3a33f2
...@@ -135,7 +135,13 @@ ...@@ -135,7 +135,13 @@
- name: "Enable advanced metrics on DigitalOcean" - name: "Enable advanced metrics on DigitalOcean"
shell: "curl -sSL https://agent.digitalocean.com/install.sh | sh" shell: "curl -sSL https://agent.digitalocean.com/install.sh | sh"
- name: "Create new sudo user w/ default password" - name: "Install ZSH"
include_role:
name: TOOCS.zsh
vars:
skip_antigen: true
- name: "Create new sudo user w/ default password & set ZSH as shell"
include_role: include_role:
name: create-new-sudo-user name: create-new-sudo-user
vars: vars:
......
- src: kamaln7.swapfile - src: kamaln7.swapfile
- src: TOOCS.python - src: TOOCS.python
- src: TOOCS.zsh
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
password: "{{ default_password|password_hash('sha512') }}" password: "{{ default_password|password_hash('sha512') }}"
create_home: yes create_home: yes
groups: sudo groups: sudo
shell: /bin/zsh
update_password: on_create update_password: on_create
- name: "Add SSH key to autorized_keys" - name: "Add SSH key to autorized_keys"
......
...@@ -9,7 +9,7 @@ def readme(): ...@@ -9,7 +9,7 @@ def readme():
setup( setup(
name='ansible-droplet', name='ansible-droplet',
version='0.4.4', version='0.4.6',
description='A cli to Create / Destroy DigitalOcean Droplets', description='A cli to Create / Destroy DigitalOcean Droplets',
long_description=readme(), long_description=readme(),
keywords='digitalocean digital ocean droplet ansible ssh provision', keywords='digitalocean digital ocean droplet ansible ssh provision',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment