diff --git a/brewman/brewman/schemas/client.py b/brewman/brewman/schemas/client.py index 99560d23..a4d9b387 100644 --- a/brewman/brewman/schemas/client.py +++ b/brewman/brewman/schemas/client.py @@ -19,6 +19,10 @@ class Client(ClientIn): code: int creation_date: datetime + class Config: + anystr_strip_whitespace = True + alias_generator = to_camel + class ClientList(Client): last_user: str diff --git a/deploy.sh b/deploy.sh index dde65389..97156d4e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -3,8 +3,7 @@ set -e parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P ) cd "$parent_path" || exit - -./lint.sh +#./lint.sh if [ 1 -eq "$#" ] then @@ -28,7 +27,7 @@ cd "$parent_path/docker/app" || exit docker build --tag brewman:latest . cd "$parent_path/docker" || exit docker save brewman:latest | bzip2 | pv | ssh tanshu@knox.tanshu.com 'bunzip2 | sudo docker load' -ansible-playbook --limit knox playbook-exp.yml -ansible-playbook --limit knox playbook-hops.yml -ansible-playbook --limit knox playbook-acc.yml -ansible-playbook --limit knox playbook-mhl.yml + ansible-playbook --limit vancity playbook-exp.yml + ansible-playbook --limit vancity playbook-hops.yml + ansible-playbook --limit vancity playbook-acc.yml + ansible-playbook --limit vancity playbook-mhl.yml