pub struct AnsibleFleetConfig {
pub control_node: String,
pub ansible_version: Option<String>,
pub collections: Vec<String>,
pub playbook_dir: Option<String>,
pub host_groups: HashMap<String, Vec<String>>,
}Expand description
Ansible fleet configuration.
Fields§
§control_node: StringHost that runs ansible-playbook (the control node).
ansible_version: Option<String>Pinned ansible version (e.g. “2.16”).
collections: Vec<String>Ansible collections to include in the environment.
playbook_dir: Option<String>Path to playbooks directory.
host_groups: HashMap<String, Vec<String>>Additional host group assignments beyond tags.
Trait Implementations§
Source§impl Clone for AnsibleFleetConfig
impl Clone for AnsibleFleetConfig
Source§fn clone(&self) -> AnsibleFleetConfig
fn clone(&self) -> AnsibleFleetConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnsibleFleetConfig
impl Debug for AnsibleFleetConfig
Source§impl<'de> Deserialize<'de> for AnsibleFleetConfig
impl<'de> Deserialize<'de> for AnsibleFleetConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AnsibleFleetConfig
impl RefUnwindSafe for AnsibleFleetConfig
impl Send for AnsibleFleetConfig
impl Sync for AnsibleFleetConfig
impl Unpin for AnsibleFleetConfig
impl UnsafeUnpin for AnsibleFleetConfig
impl UnwindSafe for AnsibleFleetConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more