Last active
August 29, 2015 14:10
-
-
Save noblejasper/fe2bb209bb958804f0f9 to your computer and use it in GitHub Desktop.
Ansibleでa2enmod(冪等性) ref: http://qiita.com/noblejasper/items/13c6f92cb4751595ac3c
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: Apache2 モジュール有効化 | |
action: command a2enmod {{item}} | |
tags: apache2 | |
register: result | |
changed_when: "'already enabled' not in result.stdout" | |
with_items: | |
- expires | |
- headers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment