FloeDesignTechnologies / ansible-nginx-drupal

Ansible role to configure Nginx for running Drupal using perusio's configuration
Apache License 2.0
22 stars 12 forks source link

Always checkout configuration from git #3

Closed praseodym closed 8 years ago

praseodym commented 10 years ago

This allows configuration updates by pushing a new version to the configuration repo and then running Ansible.

pbuyle commented 10 years ago

The configuration form the Git repository will always be overridden by parametrized configuration files. What is the behavior of the git ansible module when doing a checkout over an existing repository with uncommited changes?

praseodym commented 10 years ago

According to documentation, by default, local changes will be overridden when the repo is updated. That shouldn't be a problem since the parametrized configuration files are then again applied.

pbuyle commented 10 years ago

The issue with this with a git checkout at each run, is that it will trigger a change of the configuration files at each run.