Ansible Base 2.10 "When the Levee Breaks" Release Notes
Topics
- name: Creating instances for dynamic inventory | |
hosts: somegroup | |
gather_facts: false | |
tasks: | |
- name: Create VM | |
delegate_to: localhost | |
os_server: | |
name: '{{ instance_name }}' | |
auto_ip: false | |
flavor: '{{ flavor }}' |
- hosts: localhost | |
gather_facts: false | |
tasks: | |
- name: check_mode=true check_mode_supported=false | |
command: date | |
check_mode: true | |
- name: check_mode=false check_mode_supported=false | |
command: date | |
check_mode: false | |
- name: check_mode=absent check_mode_supported=false |
extern crate minifb; | |
use std::time::{Duration, Instant}; | |
use std::thread::sleep; | |
use minifb::{Key, WindowOptions, Window}; | |
fn main() { | |
let mut buffer: Vec<u32> = vec![0; 2048 * 1024]; | |
let mut window = Window::new("Test - ESC to exit", |
[ | |
187603, | |
190185, | |
199509, | |
183983, | |
182403, | |
184522, | |
371415, | |
372966, |
[ | |
532824, | |
533688, | |
561690, | |
570123, | |
563779, | |
571631, | |
573299, | |
581294, |
$ dpkg-architecture -L | |
uclibc-linux-armel | |
uclibc-linux-i386 | |
uclibc-linux-ia64 | |
uclibc-linux-alpha | |
uclibc-linux-amd64 | |
uclibc-linux-armeb | |
uclibc-linux-arm | |
uclibc-linux-arm64 | |
uclibc-linux-avr32 |
#!/usr/bin/python3 | |
import random | |
import time | |
MAX_HOG = 1000*1000 | |
def sparse(something): | |
for element in something: | |
victim = element["big"] | |
element["big"] = None |
- hosts: all | |
gather_facts: no | |
serial: 1 | |
tasks: | |
- name: Remove old facts | |
meta: clear_facts | |
- name: | |
set_fact: | |
host_v1: '{{ansible_ssh_host}}' | |
host_v2: '{{ansible_host}}' |
totem { | |
version: 2 | |
cluster_name: debian | |
token: 3000 | |
token_retransmits_before_loss_const: 10 | |
clear_node_high_bit: yes |