pub struct AnsiblePlaybookTask {
pub host: String,
pub playbook: String,
pub env_name: String,
pub check_mode: bool,
}Expand description
Run an ansible playbook against a specific host.
Reads: copy-ansible-env:{env_name} → ansible store path
Fields§
§host: String§playbook: String§env_name: String§check_mode: boolImplementations§
Trait Implementations§
Source§impl DagTask for AnsiblePlaybookTask
impl DagTask for AnsiblePlaybookTask
Source§fn execute(&self, ctx: &DagContext) -> TaskOutcome
fn execute(&self, ctx: &DagContext) -> TaskOutcome
Execute this task.
Source§fn resource_tag(&self) -> Option<&str>
fn resource_tag(&self) -> Option<&str>
Optional resource tag for worker pool slot management.
Tasks with a resource tag require a matching slot in the pool.
Auto Trait Implementations§
impl Freeze for AnsiblePlaybookTask
impl RefUnwindSafe for AnsiblePlaybookTask
impl Send for AnsiblePlaybookTask
impl Sync for AnsiblePlaybookTask
impl Unpin for AnsiblePlaybookTask
impl UnsafeUnpin for AnsiblePlaybookTask
impl UnwindSafe for AnsiblePlaybookTask
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