Project

General

Profile

Actions

Feature #27285

open

Provide Ansible variables in ENC hierarchically

Added by Avram Lubkin almost 5 years ago. Updated almost 5 years ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When querying /api/hosts/id:/enc, Ansible variables are provided at the same level as the other host parameters. They should be hierarchical, like Puppet parameterized classes. Something like

"parameters": {
  "domainname": "example.com",
  ...
}
"roles": {
  "role1": {
    "foo": "bar" 
  }
}

Rather than

"parameters": {
  "domainname": "example.com",
  "foo": "bar",
  ...
}
Actions #1

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_ansible/pull/284 added
Actions

Also available in: Atom PDF