Comments (4)
Updated above, removed the | mandatory as I had hacked up the template file on the LXC host and forgot about the edit, this was likely causing the "stretch" default to be set.
from debops.
So you are saying that when you run Ansible from macOS, the ansible_distribution_release
variable is what, empty? That's kinda weird, since Ansible is gathering facts from the remote host, not macOS. What happens if you run:
ansible <host> -m setup
Do you get "sane" facts, or are variables like ansible_distriburion
, ansible_distribution_release
, ansible_fqdn
missing or empty? What OS release are you using on the remote host you run against?
In the above case I would probably go with the default()
method, however ansible_distribution_release
is kinda the default, and its a fact that should be defined by Ansible after facts are gathered. It being missing suggests that something is missing from the remote host that you are running against, and this might impact many more DebOps roles than just debops.lxc
. I would try and fix this issue first.
from debops.
The above Ansible command run from OSX properly comes back with stretch when run against the LXC host:
"ansible_distribution_release": "stretch",
other facts seem in order. I'll keep looking.
from debops.
Pushed everything back up the hill, killed the mods to the defaults.yml, made sure there was on override being set in inventory, nuked /usr/share/lxc/templates/lxc-debops on the LXC host... and now it is getting set as expected in the template file... Closing issue till it repos.
DEFAULT_RELEASE="stretch"
used to be
DEFAULT_RELEASE=""
Now on to why stretch is not supported in the template file.
from debops.
Related Issues (20)
- [lxc] wrong zfs_root item name
- [debops.apt]: Ability to write conf files anywhere in /etc/apt
- Please change handling of apt recommends installing
- [debops.nginx]: Support geo maps
- NodeJS nodesource repository change
- [debops] Installation instructions need to be updated
- [postgresql_server] Could do with some upgrade documentation
- postgresql role is broken with multiple problems
- Server side calls missing in multiple roles? HOT 1
- Role environment - debops v3.0.5 - type error bool instead of str
- [bind] missing `state` fails zone/view configuration creation HOT 3
- DOC: Broken links to https://docs.debops.org/en/latest/debops-keyring/docs/index.html
- Secret is undefined HOT 5
- ubuntu noble removes /etc/apt/sources.list file HOT 6
- debops.debops.kmod: Unload kernel module fails at the first time HOT 1
- Swap file deletion
- extrepo: Why not for Ubuntu, only for Debian? HOT 2
- Nginx: Tag 'role::nginx:servers' no more applied?
- Add a authorized_keys for a user that is not local on host HOT 2
- Dropbear initramfs : Renamed config path from /etc/dropbear-initramfs to /etc/dropbear/initramfs
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 debops.