Comments (4)
Hi,
thanks for your feedback.
I made some changes to the documentation. Is this now more helpful?
There is also no need for --extra-vars "target=production
. The deployment detects the type of deployment automatically with the server ip. This means. If the server IP matches production_ip
it will deploy the production setup. If the server IP matches staging_ip
it will deploy the staging setup. This is more safe, because it prevents you from deploying staging on production :-)
from smartserver.
Thanks @HolgerHees. Am I correct to assume that you run with two copies of the repo:
- one locally on a laptop for the Vagrant setup and,
- one on the server for production?
Then it checks the host IP to work out which to run?
Is there/would it make sense to just have one repo (on laptop) with the option to deploy to the remote server?
from smartserver.
Yes, this works too, if you modify the server.ini as described in my changed wiki page.
If you want to deploy local staging and remote production i would recommend to have two server.ini files like
server_local.ini and server_production.ini
from smartserver.
right - makes sense. I see you have most roles tagged so I'm not too worried about speed when just deploying using --tags
. Thanks for the documentation updates.
from smartserver.
Related Issues (15)
- Some suggestions HOT 4
- How about including Telegraf? HOT 2
- Need some way to handle self-signed certs in demo mode HOT 3
- system_update_check crash when system is recently updated HOT 3
- Role hardware_smartd does not support NVMe devices HOT 1
- IndexError on roles/system_service/templates/opt/system_service_libs/lib/netflow/processor.py HOT 1
- trafficblocker blocklist KeyError HOT 1
- Wrong check path when configuring grafana with individual dashboards HOT 1
- Edge case - image_proxy.php never ends HOT 3
- include_tasks instead of import_tasks HOT 10
- Smartd temperature is too high (HDD/SSD) not restrictive enough HOT 6
- No VLANs in my librenms HOT 4
- Weather service - local mqtt mode, StationConsumer is needed? HOT 7
- Docker using local DNS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartserver.