simple-machines / ansible-aws-infra-services

Manage your AWS infrastructure and ECS tasks with two separate ansible playbooks
Apache License 2.0
24 stars 15 forks source link

Update.sh is wrong #20

Closed simplesteph closed 7 years ago

simplesteph commented 7 years ago

rsync \ --include="roles/" \ --include="scripts/" \ -rav $UPDATE_FROM/* . --dry-run

building file list ... done
ANSIBLE_DOCKER_ENV
Dockerfile
LICENSE.txt
README.md
TODO
build.sh
editvault.sh
infrastructure.yml
run-infrastructure.sh

run-service.sh
service.yml
update.sh
example-cluster/
example-cluster/infrastructure/
example-cluster/infrastructure/common.yml
example-cluster/infrastructure/dev.vault.yml
example-cluster/infrastructure/dev.yml
example-cluster/services/
example-cluster/services/postgres-example/
example-cluster/services/postgres-example/common.yml
example-cluster/services/postgres-example/dev.vault.yml
example-cluster/services/postgres-example/dev.yml
roles/

roles/DO_NOT_CHANGE
roles/aws.ec2-autoscaling-group/
roles/aws.ec2-autoscaling-group/README.md
roles/aws.ec2-autoscaling-group/defaults/
roles/aws.ec2-autoscaling-group/defaults/main.yml
roles/aws.ec2-autoscaling-group/files/
roles/aws.ec2-autoscaling-group/files/etc/
roles/aws.ec2-autoscaling-group/files/etc/profile.d/
roles/aws.ec2-autoscaling-group/files/etc/profile.d/99-dockercmd.sh
roles/aws.ec2-autoscaling-group/files/etc/security/
roles/aws.ec2-autoscaling-group/files/etc/security/limits.d/

roles/aws.ec2-autoscaling-group/files/etc/security/limits.d/file_limit.conf
roles/aws.ec2-autoscaling-group/files/etc/sysconfig/
roles/aws.ec2-autoscaling-group/files/etc/sysconfig/docker
roles/aws.ec2-autoscaling-group/meta/
roles/aws.ec2-autoscaling-group/meta/main.yml
roles/aws.ec2-autoscaling-group/tasks/
roles/aws.ec2-autoscaling-group/tasks/main.yml
roles/aws.ec2-autoscaling-group/templates/
roles/aws.ec2-autoscaling-group/templates/ecs.config.j2
roles/aws.ec2-autoscaling-group/tests/
roles/aws.ec2-autoscaling-group/tests/inventory
roles/aws.ec2-autoscaling-group/tests/test.yml
roles/aws.ec2-autoscaling-group/vars/
roles/aws.ec2-autoscaling-group/vars/main.yml
roles/aws.ec2-loadbalancer/
roles/aws.ec2-loadbalancer/README.md
roles/aws.ec2-loadbalancer/defaults/
roles/aws.ec2-loadbalancer/defaults/main.yml
roles/aws.ec2-loadbalancer/meta/
roles/aws.ec2-loadbalancer/meta/main.yml
...etc
scripts/
scripts/editvault-infrastructure.sh
scripts/editvault-services.sh
scripts/run-infrastructure.sh
scripts/run-service.sh

This shouldn't pull example cluster and we must be careful not to overwrite any folder that's there