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] ...