Last active
August 29, 2015 14:19
-
-
Save johntips/880f952441952d72331d to your computer and use it in GitHub Desktop.
ansible_sumple.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
- name: ユーザの作成 | |
- user: name={{ item }} shell=/bin/bash password={{ password }} home=/home/{{ item }} | |
with_items: | |
- guchi | |
- soya | |
- shota | |
- teiyu | |
- name: パッケージインストール | |
apt: pkg=tmpreaper state=installed | |
- name: テンプレートによる更新 | |
template: src=tmpreaper.conf dest=/etc/tmpreaper.conf mode=0644 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment