pub struct AnsibleTask {Show 48 fields
pub name: Option<String>,
pub shell: Option<Value>,
pub command: Option<Value>,
pub script: Option<String>,
pub copy: Option<Value>,
pub template: Option<Value>,
pub file: Option<Value>,
pub apt: Option<Value>,
pub yum: Option<Value>,
pub dnf: Option<Value>,
pub pip: Option<Value>,
pub systemd: Option<Value>,
pub service: Option<Value>,
pub docker_container: Option<Value>,
pub kubernetes: Option<Value>,
pub get_url: Option<Value>,
pub unarchive: Option<Value>,
pub git: Option<Value>,
pub cron: Option<Value>,
pub user: Option<Value>,
pub group: Option<Value>,
pub lineinfile: Option<Value>,
pub replace: Option<Value>,
pub stat: Option<Value>,
pub debug: Option<Value>,
pub assert: Option<Value>,
pub wait_for: Option<Value>,
pub pause: Option<Value>,
pub set_fact: Option<Value>,
pub register: Option<String>,
pub when: Option<Value>,
pub loop_items: Option<Value>,
pub with_items: Option<Value>,
pub with_dict: Option<Value>,
pub with_fileglob: Option<String>,
pub until: Option<Value>,
pub retries: Option<u32>,
pub delay: Option<u32>,
pub changed_when: Option<Value>,
pub failed_when: Option<Value>,
pub ignore_errors: Option<bool>,
pub notify: Option<Value>,
pub tags: Option<Value>,
pub task_become: Option<bool>,
pub task_become_user: Option<String>,
pub delegate_to: Option<String>,
pub local_action: Option<Value>,
pub other: HashMap<String, Value>,
}Fields§
§name: Option<String>§shell: Option<Value>§command: Option<Value>§script: Option<String>§copy: Option<Value>§template: Option<Value>§file: Option<Value>§apt: Option<Value>§yum: Option<Value>§dnf: Option<Value>§pip: Option<Value>§systemd: Option<Value>§service: Option<Value>§docker_container: Option<Value>§kubernetes: Option<Value>§get_url: Option<Value>§unarchive: Option<Value>§git: Option<Value>§cron: Option<Value>§user: Option<Value>§group: Option<Value>§lineinfile: Option<Value>§replace: Option<Value>§stat: Option<Value>§debug: Option<Value>§assert: Option<Value>§wait_for: Option<Value>§pause: Option<Value>§set_fact: Option<Value>§register: Option<String>§when: Option<Value>§loop_items: Option<Value>§with_items: Option<Value>§with_dict: Option<Value>§with_fileglob: Option<String>§until: Option<Value>§retries: Option<u32>§delay: Option<u32>§changed_when: Option<Value>§failed_when: Option<Value>§ignore_errors: Option<bool>§notify: Option<Value>§task_become: Option<bool>§task_become_user: Option<String>§delegate_to: Option<String>§local_action: Option<Value>§other: HashMap<String, Value>Trait Implementations§
Source§impl Clone for AnsibleTask
impl Clone for AnsibleTask
Source§fn clone(&self) -> AnsibleTask
fn clone(&self) -> AnsibleTask
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 AnsibleTask
impl Debug for AnsibleTask
Source§impl<'de> Deserialize<'de> for AnsibleTask
impl<'de> Deserialize<'de> for AnsibleTask
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 AnsibleTask
impl RefUnwindSafe for AnsibleTask
impl Send for AnsibleTask
impl Sync for AnsibleTask
impl Unpin for AnsibleTask
impl UnsafeUnpin for AnsibleTask
impl UnwindSafe for AnsibleTask
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