Merge pull request #82 from eliasp/patch-1
Don't execute `a2dissite` on each state run
This commit is contained in:
commit
c6413a361c
@ -43,6 +43,7 @@ a2ensite {{ id }}{{ apache.confext }}:
|
|||||||
a2dissite {{ id }}{{ apache.confext }}:
|
a2dissite {{ id }}{{ apache.confext }}:
|
||||||
cmd:
|
cmd:
|
||||||
- run
|
- run
|
||||||
|
- onlyif: test -f /etc/apache2/sites-enabled/{{ id }}{{ apache.confext }}
|
||||||
- require:
|
- require:
|
||||||
- file: /etc/apache2/sites-available/{{ id }}{{ apache.confext }}
|
- file: /etc/apache2/sites-available/{{ id }}{{ apache.confext }}
|
||||||
- watch_in:
|
- watch_in:
|
||||||
|
Loading…
Reference in New Issue
Block a user