playbook を作っているときに、毎回最初から実行し直すのはめんどくさいので、前回実行でコケて修正したところから実行したい。
→ "--start-at=" オプションを使えばいい

 $ ansible-playbook site.yml -l redmine --start-at="redmine : install plugins in github"

指定するタグは、実行ログに出てきたもの (playbook の name で指定したもの)

...
TASK [redmine : install flat theme] ********************************************
ok: [redmine]

TASK [redmine : install circle theme] ******************************************
changed: [redmine]

TASK [redmine : install plugins in github] *************************************
ok: [redmine] => (item={u'author': u'akiko-pusu', u'plugin': u'redmine_issue_templates'})
ok: [redmine] => (item={u'author': u'hidakatsuya', u'plugin': u'redmine_default_custom_query'})
ok: [redmine] => (item={u'author': u'paginagmbh', u'plugin': u'redmine_lightbox2'})
ok: [redmine] => (item={u'author': u'peclik', u'plugin': u'clipboard_image_paste'})
ok: [redmine] => (item={u'author': u'fcrespel', u'plugin': u'redmine_embedded_flash'})
ok: [redmine] => (item={u'author': u'tkusukawa', u'plugin': u'redmine_wiki_lists'})
ok: [redmine] => (item={u'author': u'ncoders', u'plugin': u'redmine_local_avatars'})
ok: [redmine] => (item={u'author': u'bdemirkir', u'plugin': u'sidebar_hide'})
ok: [redmine] => (item={u'author': u'akiko-pusu', u'plugin': u'redmine_banner'})
ok: [redmine] => (item={u'author': u'onozaty', u'plugin': u'redmine-view-customize'})

TASK [redmine : install plugins in bitbucket] **********************************
ok: [redmine] => (item={u'author': u'haru_iida', u'plugin': u'redmine_theme_changer'})
ok: [redmine] => (item={u'author': u'haru_iida', u'plugin': u'redmine_wiki_extensions'})

TASK [redmine : install backlogs plugin for redmine 3] *************************
changed: [redmine]
...

Ansible


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS   sitemap
Last-modified: 2016-10-27 (木) 01:29:54 (2735d)
Short-URL: https://at-sushi.com:443/pukiwiki/index.php?cmd=s&k=e966aa7977
ISBN10
ISBN13
9784061426061