CTF for ビギナーズのバイナリ講習で使用した資料です。
講習に使用したファイルは、以下のリンク先にあります。
https://onedrive.live.com/redir?resid=5EC2715BAF0C5F2B!10056&authkey=!ANE0wqC_trouhy0&ithint=folder%2czip
The SlideShare 101 is a quick start guide if you want to walk through the main features that the platform offers. This will keep getting updated as new features are launched.
The SlideShare 101 replaces the earlier "SlideShare Quick Tour".
5. Ansible
Ansible is the simplest way to automate.
• Simple
Automate in hours - not weeks - with Ansible's human-readable IT
automation language.
• Agentless
Ansible uses SSH instead of agents. More efficient, more secure and less
to manage.
• Powerful
App deployment, configuration management and orchestration - all from
one system.
出典:http://www.ansible.com/
6. Simple
• 記述がYAML形式なので人が読みやすい
---
- hosts: webservers
serial: 5 # update 5 machines at a time
roles:
- common
- webapp
!
- hosts: content_servers
roles:
- common
- content
25. Directory Layout
production # inventory file for production servers
stage # inventory file for stage environment
group_vars/
group1 # here we assign variables to particular groups
group2 # ""
host_vars/
hostname1 # if systems need specific variables, put them here
hostname2 # ""
site.yml # master playbook
webservers.yml # playbook for webserver tier
dbservers.yml # playbook for dbserver tier
roles/
26. Roles Directory
roles/
common/ # this hierarchy represents a "role"
tasks/ #
main.yml # <-- tasks file can include smaller files if warranted
handlers/ #
main.yml # <-- handlers file
templates/ # <-- files for use with the template resource
ntp.conf.j2 # <------- templates end in .j2
files/ #
bar.txt # <-- files for use with the copy resource
foo.sh # <-- script files for use with the script resource
vars/ #
main.yml # <-- variables associated with this role
defaults/ #
main.yml # <-- default lower priority variables for this role
meta/ #
main.yml # <-- role dependencies