pub struct Provision {
pub ansible: String,
pub inventory: Vec<String>,
pub groups: IndexMap<String, Vec<String>>,
pub vars: IndexMap<String, Value>,
pub host_vars: IndexMap<String, IndexMap<String, Value>>,
pub requirements: Option<String>,
}Expand description
One environment-level provisioning step.
Fields§
§ansible: StringAn Ansible playbook in the project, run against the whole environment.
inventory: Vec<String>More inventory files in the project (groups, variables), next to the one Isoloom writes
(every machine’s address and connection, in the linux or windows group).
groups: IndexMap<String, Vec<String>>Inventory groups: a name -> the machines in it.
vars: IndexMap<String, Value>Extra variables for the playbook, of any YAML type (strings, numbers, booleans, lists,
maps): passed as JSON (-e), which keeps their types.
host_vars: IndexMap<String, IndexMap<String, Value>>Variables per machine (a machine’s name -> its variables), on its line of the inventory Isoloom writes: what a playbook keys on per host (its domain, a role flag).
requirements: Option<String>The Ansible Galaxy requirements to install first (collections, roles); by default
requirements.yml next to the playbook, when there is one.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Provision
impl<'de> Deserialize<'de> for Provision
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for Provision
impl JsonSchema for Provision
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more