Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ansibleを使用したWindows管理
Search
curry9999
April 27, 2018
3
6.3k
Ansibleを使用したWindows管理
curry9999
April 27, 2018
Tweet
Share
More Decks by curry9999
See All by curry9999
AWS CDK Deep Dive - migration -
curry9999
0
710
Ansible Night in Osaka 2018.07
curry9999
2
830
Ansibleブログ活動報告2017
curry9999
3
13k
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Automating Front-end Workflow
addyosmani
1366
200k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
It's Worth the Effort
3n
183
28k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Transcript
WINDOWS MANAGEMENT USING ANSIBLE Ansible Night in Tokyo 2018.04
INTRODUCTION Twitter: curry9999 Mail:
[email protected]
Blog: awsbloglink.wordpress.com Job: - Cloud
Engineer - Infrastructure as Code Engineer 2
SYSTEM REQUIREMENTS PowerShell: 3.0以上 (※) WinRM: 有効 ※Windows Server 2016では5.0がデフォルト
3
この作業に ウンザリ していませんか 4
5
6
7
8
構築手順書の一例 9
STEP 1 10
STEP 2 11
STEP 3 12
STEP 4 13
STEP 5 14
STEP 6 15
STEP 7 16
STEP 8 17
STEP 9 18
STEP 10 19
STEP 11 20
STEP 12 21
ANSIBLEに 置き換えた場合 22
PLAYBOOK --- - name: Windows feature win_feature: name: NET-Framework-Features include_sub_features:
yes include_management_tools: yes register: result - name: Reboot win_reboot: when: result.reboot_required 23
RESULT TASK [common: Windows feature] *********************** changed: [52.196.165.141] TASK [common
: Reboot] ****************************** skipping: [52.196.165.141] 24
WINDOWS MODULE LIST 25
26
27
ANSIBLE 2.6 WINDOWS MODULE 28
29
CONCLUSION 30
CONCLUSION 31 ▪ 画面操作の撲滅 ▪ ファイルサーバのエコ利用 ▪ 方眼紙Excelの撲滅
32 Thanks for listening.