Closed gavD closed 8 years ago
I suggest something like the following in provision.sh:
provision.sh
# ... export PYTHONUNBUFFERED=1 inventory/ec2.py --refresh-cache ansible-playbook tag-old-nodes.yaml --limit tag_Environment_whatever || true > /dev/null # ...
Otherwise, the dynamic inventory is not aware of the nodes that are up there (stale cache) so it is unlikely to correctly tag the existing nodes.
done
I suggest something like the following in
provision.sh
:Otherwise, the dynamic inventory is not aware of the nodes that are up there (stale cache) so it is unlikely to correctly tag the existing nodes.