This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -m | |
hostname="ns1" | |
domain="example.local" | |
target_dns="dns-unbound01" | |
query_count=3 | |
forks=200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Ansible version check | |
command: ansible --version | |
register: ansible_version | |
delegate_to: 127.0.0.1 | |
changed_when: False | |
- block: | |
- name: Read group_vars and host_vars. In addition, add the secret files. | |
include_vars: ../{{ item.group_or_host }}_vars/{{ item.type }}.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# サンプルです。このままでは動かないところがあります。 | |
require 'net/http' | |
VAGRANTFILE_API_VERSION = "2" | |
@vb_gui = false | |
@vb_memory = 2048 | |
@vb_cpus = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# 3/8 と3/5の数値を * 7掛けして表示させる | |
# 合計を出す | |
# 平均値を出す | |
access_num = { '3/8': 1028, '3/5': 1542} | |
avg = 0 | |
sum = 0 | |
num = 7 |
NewerOlder